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

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

Issue 1796893002: [Interpreter] Pops the context to the correct level on return. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Added a test for try-finally with return in test-interpreter. 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/WithStatement.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/WithStatement.golden b/test/cctest/interpreter/bytecode_expectations/WithStatement.golden
index 2d2a61f70524122215b40f8d25991f64b6be510e..8cdc957f6f8e6cded1e3979a7edfc6bd0de436e0 100644
--- a/test/cctest/interpreter/bytecode_expectations/WithStatement.golden
+++ b/test/cctest/interpreter/bytecode_expectations/WithStatement.golden
@@ -13,7 +13,7 @@ snippet: "
"
frame size: 5
parameter count: 1
-bytecode array length: 45
+bytecode array length: 47
bytecodes: [
B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
B(PushContext), R(0),
@@ -33,6 +33,7 @@ bytecodes: [
B(CallRuntime), U16(Runtime::kPushWithContext), R(3), U8(2),
B(PushContext), R(1),
B(LdaLookupSlot), U8(1),
+ B(PopContext), R(0),
B(Return),
]
constant pool: [

Powered by Google App Engine
This is Rietveld 408576698