forked from LeenkxTeam/Kmake
37 lines
686 B
Plaintext
37 lines
686 B
Plaintext
#
|
|
# Autogenerated by generate-bytecode-expectations.
|
|
#
|
|
|
|
---
|
|
wrap: no
|
|
test function name: test
|
|
|
|
---
|
|
snippet: "
|
|
var test;
|
|
(function () {
|
|
var a = {b: 2, c: 3};
|
|
function foo() {a.b = a.c;}
|
|
foo();
|
|
test = foo;
|
|
})();
|
|
"
|
|
frame size: 1
|
|
parameter count: 1
|
|
bytecode array length: 13
|
|
bytecodes: [
|
|
/* 67 S> */ B(LdaImmutableCurrentContextSlot), U8(2),
|
|
B(Star0),
|
|
/* 75 E> */ B(GetNamedProperty), R(0), U8(0), U8(0),
|
|
/* 71 E> */ B(SetNamedProperty), R(0), U8(1), U8(2),
|
|
B(LdaUndefined),
|
|
/* 77 S> */ B(Return),
|
|
]
|
|
constant pool: [
|
|
INTERNALIZED_ONE_BYTE_STRING_TYPE ["c"],
|
|
INTERNALIZED_ONE_BYTE_STRING_TYPE ["b"],
|
|
]
|
|
handlers: [
|
|
]
|
|
|