2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: yes
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = 1; if (a || a < 0) { return 1; }
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2016-08-30 10:21:02 +00:00
|
|
|
bytecode array length: 18
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), U8(1),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2016-08-30 10:21:02 +00:00
|
|
|
/* 45 S> */ B(JumpIfToBooleanTrue), U8(8),
|
2016-06-09 13:32:33 +00:00
|
|
|
B(LdaZero),
|
2016-09-14 10:20:08 +00:00
|
|
|
/* 56 E> */ B(TestLessThan), R(0), U8(2),
|
2016-08-15 13:10:41 +00:00
|
|
|
B(JumpIfFalse), U8(5),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), U8(1),
|
|
|
|
/* 75 S> */ B(Return),
|
|
|
|
B(LdaUndefined),
|
|
|
|
/* 75 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = 1; if (a && a < 0) { return 1; }
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2016-08-30 10:21:02 +00:00
|
|
|
bytecode array length: 18
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), U8(1),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2016-08-30 10:21:02 +00:00
|
|
|
/* 45 S> */ B(JumpIfToBooleanFalse), U8(11),
|
2016-06-09 13:32:33 +00:00
|
|
|
B(LdaZero),
|
2016-09-14 10:20:08 +00:00
|
|
|
/* 56 E> */ B(TestLessThan), R(0), U8(2),
|
2016-08-15 13:10:41 +00:00
|
|
|
B(JumpIfFalse), U8(5),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), U8(1),
|
|
|
|
/* 75 S> */ B(Return),
|
|
|
|
B(LdaUndefined),
|
|
|
|
/* 75 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = 1; a = (a || a < 0) ? 2 : 3;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2016-08-30 10:21:02 +00:00
|
|
|
bytecode array length: 23
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), U8(1),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2016-08-30 10:21:02 +00:00
|
|
|
/* 45 S> */ B(JumpIfToBooleanTrue), U8(8),
|
2016-06-09 13:32:33 +00:00
|
|
|
B(LdaZero),
|
2016-09-14 10:20:08 +00:00
|
|
|
/* 57 E> */ B(TestLessThan), R(0), U8(2),
|
2016-08-15 13:10:41 +00:00
|
|
|
B(JumpIfFalse), U8(6),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(LdaSmi), U8(2),
|
|
|
|
B(Jump), U8(4),
|
|
|
|
B(LdaSmi), U8(3),
|
2016-06-09 13:32:33 +00:00
|
|
|
B(Star), R(0),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
/* 71 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|