summaryrefslogtreecommitdiff
path: root/deps/v8/test/cctest/interpreter/bytecode_expectations/TopLevelObjectLiterals.golden
blob: f080925637efe7be88fc1574c271d39204acc618 (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
#
# Autogenerated by generate-bytecode-expectations.
#

---
wrap: no
top level: yes

---
snippet: "
  var a = { func: function() { } };
"
frame size: 3
parameter count: 1
bytecode array length: 33
bytecodes: [
                B(LdaConstant), U8(0),
                B(Star), R(1),
                B(Mov), R(closure), R(2),
  /*    0 E> */ B(CallRuntime), U16(Runtime::kDeclareGlobals), R(1), U8(2),
  /*    8 S> */ B(CreateObjectLiteral), U8(1), U8(0), U8(41),
                B(Star), R(1),
  /*   16 E> */ B(CreateClosure), U8(2), U8(0), U8(0),
                B(StaNamedOwnProperty), R(1), U8(3), U8(1),
                B(Ldar), R(1),
  /*    8 E> */ B(StaGlobal), U8(4), U8(3),
                B(LdaUndefined),
  /*   34 S> */ B(Return),
]
constant pool: [
  FIXED_ARRAY_TYPE,
  OBJECT_BOILERPLATE_DESCRIPTION_TYPE,
  SHARED_FUNCTION_INFO_TYPE,
  ONE_BYTE_INTERNALIZED_STRING_TYPE ["func"],
  ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"],
]
handlers: [
]