Index: test/cctest/interpreter/bytecode_expectations/NewTarget.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/NewTarget.golden b/test/cctest/interpreter/bytecode_expectations/NewTarget.golden |
index 398b857c1f782474f5387e4963d4d23d069adca7..090fb0bb7a9aeab4447909f1b9c6673f23955898 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/NewTarget.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/NewTarget.golden |
@@ -11,21 +11,16 @@ wrap: yes |
snippet: " |
return new.target; |
" |
-frame size: 2 |
+frame size: 1 |
parameter count: 1 |
-bytecode array length: 18 |
+bytecode array length: 7 |
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), |
+ /* 34 S> */ B(Ldar), R(0), |
/* 53 S> */ B(Return), |
] |
constant pool: [ |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
] |
handlers: [ |
] |
@@ -34,22 +29,16 @@ handlers: [ |
snippet: " |
new.target; |
" |
-frame size: 2 |
+frame size: 1 |
parameter count: 1 |
-bytecode array length: 19 |
+bytecode array length: 6 |
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), |
+ /* 34 S> */ B(LdaUndefined), |
/* 46 S> */ B(Return), |
] |
constant pool: [ |
- InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, |
] |
handlers: [ |
] |