Index: test/cctest/interpreter/bytecode_expectations/ContextParameters.golden |
diff --git a/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden b/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden |
index fb74600241ce9affb9bb633fb4b2e6d5d3788d80..2fad7b9c9109e147086cffa716da5269e773e247 100644 |
--- a/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden |
+++ b/test/cctest/interpreter/bytecode_expectations/ContextParameters.golden |
@@ -15,7 +15,7 @@ snippet: " |
" |
frame size: 1 |
parameter count: 2 |
-bytecode array length: 17 |
+bytecode array length: 19 |
bytecodes: [ |
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
B(PushContext), R(0), |
@@ -23,6 +23,7 @@ bytecodes: [ |
B(StaContextSlot), R(context), U8(4), |
B(StackCheck), |
B(CreateClosure), U8(0), U8(0), |
+ B(PopContext), R(0), |
B(Return), |
] |
constant pool: [ |
@@ -38,7 +39,7 @@ snippet: " |
" |
frame size: 2 |
parameter count: 2 |
-bytecode array length: 22 |
+bytecode array length: 24 |
bytecodes: [ |
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
B(PushContext), R(1), |
@@ -48,6 +49,7 @@ bytecodes: [ |
B(CreateClosure), U8(0), U8(0), |
B(Star), R(0), |
B(LdaContextSlot), R(context), U8(4), |
+ B(PopContext), R(1), |
B(Return), |
] |
constant pool: [ |
@@ -63,7 +65,7 @@ snippet: " |
" |
frame size: 1 |
parameter count: 5 |
-bytecode array length: 22 |
+bytecode array length: 24 |
bytecodes: [ |
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
B(PushContext), R(0), |
@@ -73,6 +75,7 @@ bytecodes: [ |
B(StaContextSlot), R(context), U8(4), |
B(StackCheck), |
B(CreateClosure), U8(0), U8(0), |
+ B(PopContext), R(0), |
B(Return), |
] |
constant pool: [ |
@@ -88,7 +91,7 @@ snippet: " |
" |
frame size: 1 |
parameter count: 1 |
-bytecode array length: 17 |
+bytecode array length: 19 |
bytecodes: [ |
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), |
B(PushContext), R(0), |
@@ -96,6 +99,7 @@ bytecodes: [ |
B(Ldar), R(this), |
B(StaContextSlot), R(context), U8(4), |
B(CreateClosure), U8(0), U8(0), |
+ B(PopContext), R(0), |
B(Return), |
] |
constant pool: [ |