2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: no
|
|
|
|
top level: yes
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = { func: function() { } };
|
|
|
|
"
|
2016-12-15 10:59:57 +00:00
|
|
|
frame size: 4
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2017-06-29 12:10:41 +00:00
|
|
|
bytecode array length: 36
|
2016-02-25 12:07:07 +00:00
|
|
|
bytecodes: [
|
2016-05-11 12:21:56 +00:00
|
|
|
B(LdaConstant), U8(0),
|
|
|
|
B(Star), R(1),
|
|
|
|
B(LdaZero),
|
|
|
|
B(Star), R(2),
|
2016-07-13 11:32:35 +00:00
|
|
|
B(Mov), R(closure), R(3),
|
|
|
|
B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1), U8(3),
|
2016-05-11 12:21:56 +00:00
|
|
|
/* 0 E> */ B(StackCheck),
|
2017-10-19 15:12:42 +00:00
|
|
|
/* 8 S> */ B(CreateObjectLiteral), U8(1), U8(2), U8(41), R(1),
|
|
|
|
B(CreateClosure), U8(2), U8(3), U8(0),
|
2017-07-27 12:45:00 +00:00
|
|
|
B(StaNamedOwnProperty), R(1), U8(3), U8(4),
|
2017-06-29 12:10:41 +00:00
|
|
|
B(Ldar), R(1),
|
2017-12-13 21:44:29 +00:00
|
|
|
/* 8 E> */ B(StaGlobal), U8(4), U8(6),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(LdaUndefined),
|
|
|
|
/* 33 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
FIXED_ARRAY_TYPE,
|
|
|
|
SHARED_FUNCTION_INFO_TYPE,
|
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["func"],
|
2017-06-29 12:10:41 +00:00
|
|
|
ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
handlers: [
|
|
|
|
]
|
|
|
|
|