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

Unified Diff: test/cctest/interpreter/bytecode_expectations/Generators.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/Generators.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/Generators.golden b/test/cctest/interpreter/bytecode_expectations/Generators.golden
index bf1400b2a6440b3cd6a1f37926be8629d57e287c..9031ad7b0dc0c1c985dd6a6464a39cbda15d699a 100644
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden
@@ -264,7 +264,7 @@ snippet: "
"
frame size: 18
parameter count: 1
-bytecode array length: 768
+bytecode array length: 752
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(26),
@@ -319,10 +319,8 @@ bytecodes: [
B(JumpConstant), U8(17),
B(Ldar), R(10),
/* 11 E> */ B(Throw),
- B(LdaConstant), U8(0),
- B(Star), R(8),
- B(Mov), R(closure), R(9),
- B(CallRuntime), U16(Runtime::kPushBlockContext), R(8), U8(2),
+ B(Ldar), R(closure),
+ B(CreateBlockContext), U8(0),
B(PushContext), R(1),
B(LdaTheHole),
B(StaContextSlot), R(context), U8(4),
@@ -366,10 +364,8 @@ bytecodes: [
B(LdaContextSlot), R(1), U8(10),
B(StaContextSlot), R(1), U8(6),
/* 16 E> */ B(StackCheck),
- B(LdaConstant), U8(7),
- B(Star), R(12),
- B(Mov), R(closure), R(13),
- B(CallRuntime), U16(Runtime::kPushBlockContext), R(12), U8(2),
+ B(Ldar), R(closure),
+ B(CreateBlockContext), U8(7),
B(PushContext), R(2),
B(LdaTheHole),
B(StaContextSlot), R(context), U8(4),
@@ -423,7 +419,7 @@ bytecodes: [
B(PopContext), R(2),
B(LdaZero),
B(StaContextSlot), R(1), U8(9),
- B(Wide), B(Jump), U16(-223),
+ B(Wide), B(Jump), U16(-215),
B(Jump), U8(46),
B(Star), R(13),
B(LdaConstant), U8(11),
@@ -598,9 +594,9 @@ constant pool: [
kInstanceTypeDontCare,
]
handlers: [
- [41, 687, 693],
- [147, 442, 448],
- [150, 396, 398],
- [544, 556, 558],
+ [41, 671, 677],
+ [139, 426, 432],
+ [142, 380, 382],
+ [528, 540, 542],
]

Powered by Google App Engine
This is Rietveld 408576698