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

Unified Diff: test/cctest/interpreter/bytecode_expectations/ContextParameters.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/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: [

Powered by Google App Engine
This is Rietveld 408576698