2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: yes
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 0; return x;
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 5
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaZero),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 54 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 0; return x + 3;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 8
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaZero),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(AddSmi), I8(3), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 0; return 3 + x;
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 14
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaZero),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 45 S> */ B(LdaSmi), I8(3),
|
2017-04-10 09:30:51 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
B(Ldar), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 E> */ B(Add), R(1), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 0; return x - 3;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 8
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaZero),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(SubSmi), I8(3), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 0; return 3 - x;
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 14
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaZero),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 45 S> */ B(LdaSmi), I8(3),
|
2017-04-10 09:30:51 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
B(Ldar), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 E> */ B(Sub), R(1), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 4; return x * 3;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
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(4),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(MulSmi), I8(3), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 4; return 3 * x;
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), I8(4),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(MulSmi), I8(3), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 4; return x / 3;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), I8(4),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(DivSmi), I8(3), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 4; return 3 / x;
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 15
|
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(4),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 45 S> */ B(LdaSmi), I8(3),
|
2017-04-10 09:30:51 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
B(Ldar), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 E> */ B(Div), R(1), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 4; return x % 3;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), I8(4),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(ModSmi), I8(3), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 4; return 3 % x;
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 15
|
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(4),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 45 S> */ B(LdaSmi), I8(3),
|
2017-04-10 09:30:51 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
B(Ldar), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 E> */ B(Mod), R(1), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 1; return x | 2;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
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),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(BitwiseOrSmi), I8(2), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 1; return 2 | x;
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), I8(1),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(BitwiseOrSmi), I8(2), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 1; return x ^ 2;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
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),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(BitwiseXorSmi), I8(2), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 1; return 2 ^ x;
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), I8(1),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(BitwiseXorSmi), I8(2), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 1; return x & 2;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), I8(1),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(BitwiseAndSmi), I8(2), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 1; return 2 & x;
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
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),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 54 S> */ B(BitwiseAndSmi), I8(2), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 58 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 10; return x << 3;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), I8(10),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 55 S> */ B(ShiftLeftSmi), I8(3), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 60 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 10; return 3 << x;
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 15
|
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(10),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 46 S> */ B(LdaSmi), I8(3),
|
2017-04-10 09:30:51 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
B(Ldar), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 55 E> */ B(ShiftLeft), R(1), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 60 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 10; return x >> 3;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), I8(10),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 55 S> */ B(ShiftRightSmi), I8(3), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 60 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 10; return 3 >> x;
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 15
|
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(10),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 46 S> */ B(LdaSmi), I8(3),
|
2017-04-10 09:30:51 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
B(Ldar), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 55 E> */ B(ShiftRight), R(1), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 60 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 10; return x >>> 3;
|
|
|
|
"
|
2016-05-27 15:57:35 +00:00
|
|
|
frame size: 1
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 9
|
2017-04-10 09:30:51 +00:00
|
|
|
bytecodes: [
|
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaSmi), I8(10),
|
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 55 S> */ B(ShiftRightLogicalSmi), I8(3), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 61 S> */ B(Return),
|
2017-04-10 09:30:51 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 10; return 3 >>> x;
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 15
|
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(10),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 46 S> */ B(LdaSmi), I8(3),
|
2017-04-10 09:30:51 +00:00
|
|
|
B(Star), R(1),
|
|
|
|
B(Ldar), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 55 E> */ B(ShiftRightLogical), R(1), U8(0),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 61 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var x = 0; return (x, 3);
|
|
|
|
"
|
|
|
|
frame size: 1
|
|
|
|
parameter count: 1
|
|
|
|
bytecode array length: 7
|
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 42 S> */ B(LdaZero),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(0),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 45 S> */ B(LdaSmi), I8(3),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 59 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|