2016-02-25 12:07:07 +00:00
|
|
|
#
|
|
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
|
|
#
|
|
|
|
|
|
|
|
---
|
|
|
|
wrap: no
|
|
|
|
top level: yes
|
|
|
|
|
|
|
|
---
|
|
|
|
snippet: "
|
|
|
|
var a = { func: function() { } };
|
|
|
|
"
|
2020-01-13 11:59:15 +00:00
|
|
|
frame size: 3
|
2016-02-25 12:07:07 +00:00
|
|
|
parameter count: 1
|
2020-02-10 16:09:27 +00:00
|
|
|
bytecode array length: 33
|
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),
|
2020-01-13 11:59:15 +00:00
|
|
|
B(Mov), R(closure), R(2),
|
2020-02-10 16:09:27 +00:00
|
|
|
/* 0 E> */ B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2),
|
2020-01-13 11:57:24 +00:00
|
|
|
/* 8 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(41),
|
2018-11-08 08:55:43 +00:00
|
|
|
B(Star), R(1),
|
2019-03-08 14:57:54 +00:00
|
|
|
/* 16 E> */ B(CreateClosure), U8(2), U8(0), U8(0),
|
2020-01-13 11:57:24 +00:00
|
|
|
B(StaNamedOwnProperty), R(1), U8(3), U8(1),
|
2017-06-29 12:10:41 +00:00
|
|
|
B(Ldar), R(1),
|
2020-01-13 11:57:24 +00:00
|
|
|
/* 8 E> */ B(StaGlobal), U8(4), U8(3),
|
2016-05-11 12:21:56 +00:00
|
|
|
B(LdaUndefined),
|
2018-06-12 21:57:52 +00:00
|
|
|
/* 34 S> */ B(Return),
|
2016-02-25 12:07:07 +00:00
|
|
|
]
|
|
|
|
constant pool: [
|
2016-09-06 16:10:19 +00:00
|
|
|
FIXED_ARRAY_TYPE,
|
2018-07-05 18:34:09 +00:00
|
|
|
OBJECT_BOILERPLATE_DESCRIPTION_TYPE,
|
2016-09-06 16:10:19 +00:00
|
|
|
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: [
|
|
|
|
]
|
|
|
|
|