Index: test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.golden b/test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.golden |
index 826c3028457df066d3284aa425f960e2ea9ec459..8bc1afcf372724f360794fe6c5b94b2e7f2ef996 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.golden |
@@ -70,7 +70,7 @@ snippet: " |
" |
frame size: 4 |
parameter count: 1 |
-bytecode array length: 47 |
+bytecode array length: 42 |
bytecodes: [ |
B(CreateFunctionContext), U8(1), |
B(PushContext), R(1), |
@@ -87,8 +87,6 @@ bytecodes: [ |
B(Star), R(3), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), |
B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0), |
- B(Ldar), R(2), |
- B(StaContextSlot), R(context), U8(4), |
/* 47 E> */ B(StaContextSlot), R(context), U8(4), |
B(LdaUndefined), |
/* 80 S> */ B(Return), |
@@ -106,7 +104,7 @@ snippet: " |
" |
frame size: 4 |
parameter count: 1 |
-bytecode array length: 49 |
+bytecode array length: 44 |
bytecodes: [ |
B(CreateFunctionContext), U8(1), |
B(PushContext), R(1), |
@@ -125,8 +123,6 @@ bytecodes: [ |
B(Star), R(3), |
B(CallRuntime), U16(Runtime::kThrowReferenceError), R(3), U8(1), |
B(CallRuntime), U16(Runtime::kThrowConstAssignError), R(0), U8(0), |
- B(Ldar), R(2), |
- B(StaContextSlot), R(context), U8(4), |
B(LdaUndefined), |
/* 82 S> */ B(Return), |
] |