Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(161)

Unified Diff: test/cctest/interpreter/bytecode_expectations/ContextVariables.golden

Issue 1768123002: [Interpreter] Fixes a bug when popping context to correct level on break/continue. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden b/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
index d905f37dfb708f2170f100f41a473f02e9e30c5b..1528a1a525fd9970aa0dc10f4ecb6aacdccc007f 100644
--- a/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
@@ -13,12 +13,13 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 12
+bytecode array length: 14
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
B(StackCheck),
B(CreateClosure), U8(0), U8(0),
+ B(PopContext), R(0),
B(Return),
]
constant pool: [
@@ -33,7 +34,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),
@@ -41,6 +42,7 @@ bytecodes: [
B(LdaSmi8), U8(1),
B(StaContextSlot), R(context), U8(4),
B(CreateClosure), U8(0), U8(0),
+ B(PopContext), R(0),
B(Return),
]
constant pool: [
@@ -55,7 +57,7 @@ snippet: "
"
frame size: 1
parameter count: 1
-bytecode array length: 22
+bytecode array length: 24
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -65,6 +67,7 @@ bytecodes: [
B(LdaSmi8), U8(2),
B(StaContextSlot), R(context), U8(5),
B(CreateClosure), U8(0), U8(0),
+ B(PopContext), R(0),
B(Return),
]
constant pool: [
@@ -79,7 +82,7 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 25
+bytecode array length: 27
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -90,6 +93,7 @@ bytecodes: [
B(Star), R(1),
B(Call), R(1), R(2), U8(1), U8(1),
B(LdaContextSlot), R(context), U8(4),
+ B(PopContext), R(0),
B(Return),
]
constant pool: [
@@ -394,7 +398,7 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 1042
+bytecode array length: 1044
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -911,6 +915,7 @@ bytecodes: [
B(LdaSmi8), U8(100),
B(StaContextSlotWide), R(context), U16(256),
B(LdaContextSlotWide), R(context), U16(256),
+ B(PopContext), R(0),
B(Return),
]
constant pool: [

Powered by Google App Engine
This is Rietveld 408576698