v8/test/cctest/interpreter/bytecode_expectations/NewTarget.golden

57 lines
1.2 KiB
Plaintext
Raw Normal View History

#
# Autogenerated by generate-bytecode-expectations.
#
---
pool type: mixed
execute: yes
wrap: yes
---
snippet: "
return new.target;
"
frame size: 2
parameter count: 1
bytecode array length: 18
bytecodes: [
B(Mov), R(new_target), R(0),
/* 30 E> */ B(StackCheck),
/* 34 S> */ B(Ldar), R(new_target),
B(JumpIfNotHole), U8(11),
B(LdaConstant), U8(0),
B(Star), R(1),
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1),
/* 53 S> */ B(Return),
]
constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
]
handlers: [
]
---
snippet: "
new.target;
"
frame size: 2
parameter count: 1
bytecode array length: 19
bytecodes: [
B(Mov), R(new_target), R(0),
/* 30 E> */ B(StackCheck),
/* 34 S> */ B(Ldar), R(new_target),
B(JumpIfNotHole), U8(11),
B(LdaConstant), U8(0),
B(Star), R(1),
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(1), U8(1),
B(LdaUndefined),
/* 46 S> */ B(Return),
]
constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
]
handlers: [
]