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

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

Issue 2248633002: [interpreter] Add CreateBlockContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: comments Created 4 years, 4 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 a973d7b71b226775a56e4c2c1213da3d5f6770ef..b3226e0d644e90cc06d54bc6b30673277abd9214 100644
--- a/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ContextVariables.golden
@@ -103,9 +103,9 @@ snippet: "
let a = 1;
{ let b = 2; return function() { a + b; }; }
"
-frame size: 4
+frame size: 2
parameter count: 1
-bytecode array length: 43
+bytecode array length: 35
bytecodes: [
B(CreateFunctionContext), U8(1),
B(PushContext), R(0),
@@ -114,10 +114,8 @@ bytecodes: [
/* 30 E> */ B(StackCheck),
/* 56 S> */ B(LdaSmi), U8(1),
/* 56 E> */ B(StaContextSlot), R(context), U8(4),
- B(LdaConstant), U8(0),
- B(Star), R(2),
- B(Mov), R(closure), R(3),
- B(CallRuntime), U16(Runtime::kPushBlockContext), R(2), U8(2),
+ B(Ldar), R(closure),
+ B(CreateBlockContext), U8(0),
B(PushContext), R(1),
B(LdaTheHole),
B(StaContextSlot), R(context), U8(4),

Powered by Google App Engine
This is Rietveld 408576698