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),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 42 S> */ B(LdaSmi), I8(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),
|
2017-05-02 11:50:53 +00:00
|
|
|
/* 56 E> */ B(TestLessThan), R(0), U8(2),
|
2016-08-15 13:10:41 +00:00
|
|
|
B(JumpIfFalse), U8(5),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 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),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 42 S> */ B(LdaSmi), I8(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),
|
2017-05-02 11:50:53 +00:00
|
|
|
/* 56 E> */ B(TestLessThan), R(0), U8(2),
|
2016-08-15 13:10:41 +00:00
|
|
|
B(JumpIfFalse), U8(5),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 63 S> */ B(LdaSmi), I8(1),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 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),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 42 S> */ B(LdaSmi), I8(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),
|
2017-05-02 11:50:53 +00:00
|
|
|
/* 57 E> */ B(TestLessThan), R(0), U8(2),
|
2016-08-15 13:10:41 +00:00
|
|
|
B(JumpIfFalse), U8(6),
|
2017-01-25 17:39:24 +00:00
|
|
|
B(LdaSmi), I8(2),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(Jump), U8(4),
|
2017-01-25 17:39:24 +00:00
|
|
|
B(LdaSmi), I8(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: [
|
|
|
|
]
|
|
|
|
|