2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: yes
|
|
|
|
do expressions: yes
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = do { }; return a;
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
2016-06-09 13:32:33 +00:00
|
|
|
bytecode array length: 7
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
2016-06-09 13:32:33 +00:00
|
|
|
/* 42 S> */ B(Mov), R(0), R(1),
|
2016-05-27 15:57:35 +00:00
|
|
|
/* 50 S> */ B(Ldar), R(1),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 59 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = do { var x = 100; }; return a;
|
|
|
|
"
|
|
|
|
frame size: 3
|
|
|
|
parameter count: 1
|
2017-07-17 19:02:35 +00:00
|
|
|
bytecode array length: 11
|
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
|
|
|
/* 55 S> */ B(LdaSmi), I8(100),
|
2016-09-10 18:04:54 +00:00
|
|
|
B(Star), R(0),
|
2016-11-10 10:41:48 +00:00
|
|
|
/* 42 S> */ B(LdaUndefined),
|
|
|
|
B(Star), R(1),
|
2016-05-23 13:31:53 +00:00
|
|
|
B(Star), R(2),
|
2017-07-14 17:50:09 +00:00
|
|
|
/* 72 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
while(true) { var a = 10; a = do { ++a; break; }; a = 20; }
|
|
|
|
"
|
|
|
|
frame size: 2
|
|
|
|
parameter count: 1
|
2016-08-19 09:21:38 +00:00
|
|
|
bytecode array length: 16
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 30 E> */ B(StackCheck),
|
|
|
|
/* 34 E> */ B(StackCheck),
|
2017-01-25 17:39:24 +00:00
|
|
|
/* 56 S> */ B(LdaSmi), I8(10),
|
2016-08-25 19:11:19 +00:00
|
|
|
B(Star), R(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
/* 69 S> */ B(Inc), U8(0),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(Star), R(0),
|
2016-08-25 19:11:19 +00:00
|
|
|
B(Star), R(1),
|
2016-08-19 09:21:38 +00:00
|
|
|
/* 74 S> */ B(Jump), U8(2),
|
2017-06-27 08:44:35 +00:00
|
|
|
B(LdaUndefined),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 94 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|