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

Unified Diff: test/cctest/interpreter/bytecode_expectations/CountOperators.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/CountOperators.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/CountOperators.golden b/test/cctest/interpreter/bytecode_expectations/CountOperators.golden
index 72d0c3f02a656162d0316ef2008caed32157fb49..36cb73b6c562fc4cb3fb806da67e084b65ccc7c8 100644
--- a/test/cctest/interpreter/bytecode_expectations/CountOperators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/CountOperators.golden
@@ -217,7 +217,7 @@ snippet: "
"
frame size: 2
parameter count: 1
-bytecode array length: 27
+bytecode array length: 29
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(1),
@@ -230,6 +230,7 @@ bytecodes: [
B(ToNumber),
B(Inc),
B(StaContextSlot), R(context), U8(4),
+ B(PopContext), R(1),
B(Return),
]
constant pool: [
@@ -244,7 +245,7 @@ snippet: "
"
frame size: 3
parameter count: 1
-bytecode array length: 31
+bytecode array length: 33
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(1),
@@ -259,6 +260,7 @@ bytecodes: [
B(Dec),
B(StaContextSlot), R(context), U8(4),
B(Ldar), R(2),
+ B(PopContext), R(1),
B(Return),
]
constant pool: [

Powered by Google App Engine
This is Rietveld 408576698