6c9ef89540
Avoids the always generated Star bytecodes after ObjectLiteral. BUG=v4:4820 LOG=n Review-Url: https://codereview.chromium.org/2216023003 Cr-Commit-Position: refs/heads/master@{#38480}
48 lines
1.2 KiB
Plaintext
48 lines
1.2 KiB
Plaintext
#
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
#
|
|
|
|
---
|
|
pool type: mixed
|
|
execute: no
|
|
wrap: no
|
|
top level: yes
|
|
|
|
---
|
|
snippet: "
|
|
var a = { func: function() { } };
|
|
"
|
|
frame size: 5
|
|
parameter count: 1
|
|
bytecode array length: 45
|
|
bytecodes: [
|
|
B(LdaConstant), U8(0),
|
|
B(Star), R(1),
|
|
B(LdaZero),
|
|
B(Star), R(2),
|
|
B(Mov), R(closure), R(3),
|
|
B(CallRuntime), U16(Runtime::kDeclareGlobalsForInterpreter), R(1), U8(3),
|
|
/* 0 E> */ B(StackCheck),
|
|
/* 8 S> */ B(LdaConstant), U8(1),
|
|
B(Star), R(1),
|
|
B(LdaZero),
|
|
B(CreateObjectLiteral), U8(2), U8(0), U8(1), R(4),
|
|
B(Star), R(2),
|
|
B(CreateClosure), U8(3), U8(0),
|
|
B(StaNamedPropertySloppy), R(4), U8(4), U8(3),
|
|
B(Mov), R(4), R(3),
|
|
B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3),
|
|
B(LdaUndefined),
|
|
/* 33 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
InstanceType::FIXED_ARRAY_TYPE,
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
InstanceType::FIXED_ARRAY_TYPE,
|
|
InstanceType::SHARED_FUNCTION_INFO_TYPE,
|
|
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
|
|
]
|
|
handlers: [
|
|
]
|
|
|