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

Unified Diff: test/cctest/interpreter/bytecode_expectations/BreakableBlocks.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/BreakableBlocks.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden b/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden
index f13fa9b16122143d6022fde7f69aa32f1851b86d..b0fbd756b8a3648243299adc6428944206e26d9c 100644
--- a/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden
+++ b/test/cctest/interpreter/bytecode_expectations/BreakableBlocks.golden
@@ -101,15 +101,13 @@ snippet: "
break outer;
}
"
-frame size: 5
+frame size: 3
parameter count: 1
-bytecode array length: 40
+bytecode array length: 32
bytecodes: [
/* 30 E> */ B(StackCheck),
- B(LdaConstant), U8(0),
- B(Star), R(3),
- B(Mov), R(closure), R(4),
- B(CallRuntime), U16(Runtime::kPushBlockContext), R(3), U8(2),
+ B(Ldar), R(closure),
+ B(CreateBlockContext), U8(0),
B(PushContext), R(2),
B(LdaTheHole),
B(StaContextSlot), R(context), U8(4),
@@ -146,7 +144,7 @@ snippet: "
"
frame size: 6
parameter count: 1
-bytecode array length: 115
+bytecode array length: 107
bytecodes: [
B(CreateFunctionContext), U8(1),
B(PushContext), R(2),
@@ -155,10 +153,8 @@ bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaSmi), U8(1),
/* 42 E> */ B(StaContextSlot), R(context), U8(4),
- B(LdaConstant), U8(0),
- B(Star), R(4),
- B(Mov), R(closure), R(5),
- B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2),
+ B(Ldar), R(closure),
+ B(CreateBlockContext), U8(0),
B(PushContext), R(3),
B(LdaTheHole),
B(StaContextSlot), R(context), U8(4),

Powered by Google App Engine
This is Rietveld 408576698