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

Unified Diff: test/cctest/interpreter/bytecode_expectations/LookupSlot.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/LookupSlot.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden b/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden
index 7c86e83ca754f4345a0c2b0d83fcfba8ce309574..727669befb835971b256c1bb9b8237c04ebcf6c7 100644
--- a/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden
+++ b/test/cctest/interpreter/bytecode_expectations/LookupSlot.golden
@@ -13,7 +13,7 @@ snippet: "
"
frame size: 9
parameter count: 1
-bytecode array length: 67
+bytecode array length: 69
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -40,6 +40,7 @@ bytecodes: [
B(Star), R(1),
B(Call), R(1), R(2), U8(2), U8(0),
B(LdaLookupSlot), U8(2),
+ B(PopContext), R(0),
B(Return),
]
constant pool: [
@@ -56,7 +57,7 @@ snippet: "
"
frame size: 9
parameter count: 1
-bytecode array length: 68
+bytecode array length: 70
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -84,6 +85,7 @@ bytecodes: [
B(Call), R(1), R(2), U8(2), U8(0),
B(LdaLookupSlotInsideTypeof), U8(2),
B(TypeOf),
+ B(PopContext), R(0),
B(Return),
]
constant pool: [
@@ -100,7 +102,7 @@ snippet: "
"
frame size: 9
parameter count: 1
-bytecode array length: 69
+bytecode array length: 71
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -128,6 +130,7 @@ bytecodes: [
B(CallRuntime), U16(Runtime::kResolvePossiblyDirectEval), R(4), U8(5),
B(Star), R(1),
B(Call), R(1), R(2), U8(2), U8(0),
+ B(PopContext), R(0),
B(Return),
]
constant pool: [

Powered by Google App Engine
This is Rietveld 408576698