summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/interpreter/bytecode_expectations/TopLevelObjectLiterals.golden
blob: 59052b85d8a35d43226c1976ce7c1780d83098e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#
# Autogenerated by generate-bytecode-expectations.
#

---
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(4),
                B(Mov), R(4), R(3),
                B(CallRuntime), U16(Runtime::kInitializeVarGlobal), R(1), U8(3),
                B(LdaUndefined),
  /*   33 S> */ B(Return),
]
constant pool: [
  FIXED_ARRAY_TYPE,
  ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
  FIXED_ARRAY_TYPE,
  SHARED_FUNCTION_INFO_TYPE,
  ONE_BYTE_INTERNALIZED_STRING_TYPE ["func"],
]
handlers: [
]