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

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

Issue 2302013002: Store the scope info in catch contexts (Closed)
Patch Set: updates Created 4 years, 3 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 11222be849437f3447ca4ca38dde56cb0d9d6f4d..6bd2607fa1f63b66541c27d386481810d622515b 100644
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden
@@ -268,7 +268,7 @@ snippet: "
"
frame size: 18
parameter count: 1
-bytecode array length: 763
+bytecode array length: 765
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -322,7 +322,7 @@ bytecodes: [
B(Star), R(6),
B(LdaZero),
B(Star), R(5),
- B(JumpConstant), U8(17),
+ B(JumpConstant), U8(19),
B(Ldar), R(10),
/* 11 E> */ B(Throw),
B(Ldar), R(closure),
@@ -418,7 +418,7 @@ bytecodes: [
B(Star), R(9),
B(LdaZero),
B(Star), R(8),
- B(Jump), U8(69),
+ B(Jump), U8(70),
B(Ldar), R(13),
/* 36 E> */ B(Throw),
B(Ldar), R(13),
@@ -426,10 +426,10 @@ bytecodes: [
B(LdaZero),
B(StaContextSlot), R(1), U8(9),
B(Wide), B(Jump), U16(-219),
- B(Jump), U8(40),
+ B(Jump), U8(41),
B(Star), R(12),
B(Ldar), R(closure),
- B(CreateCatchContext), R(12), U8(11),
+ B(CreateCatchContext), R(12), U8(11), U8(12),
B(Star), R(11),
B(PushContext), R(2),
B(LdrContextSlot), R(0), U8(9), R(12),
@@ -452,33 +452,33 @@ bytecodes: [
B(LdrContextSlot), R(1), U8(9), R(11),
B(LdaZero),
B(TestEqualStrict), R(11), U8(14),
- B(JumpIfTrueConstant), U8(15),
+ B(JumpIfTrueConstant), U8(17),
B(LdrContextSlot), R(1), U8(7), R(11),
B(LdaUndefined),
B(TestEqualStrict), R(11), U8(15),
- B(JumpIfTrueConstant), U8(16),
+ B(JumpIfTrueConstant), U8(18),
B(LdrContextSlot), R(1), U8(7), R(11),
- B(LdaNamedProperty), R(11), U8(12), U8(16),
+ B(LdaNamedProperty), R(11), U8(13), U8(16),
B(StaContextSlot), R(1), U8(11),
B(LdrContextSlot), R(1), U8(11), R(11),
B(LdaNull),
B(TestEqual), R(11), U8(18),
B(JumpIfFalse), U8(4),
- B(Jump), U8(119),
+ B(Jump), U8(120),
B(LdrContextSlot), R(1), U8(9), R(11),
B(LdaSmi), U8(1),
B(TestEqualStrict), R(11), U8(19),
- B(JumpIfFalse), U8(72),
+ B(JumpIfFalse), U8(73),
B(LdaContextSlot), R(1), U8(11),
B(TypeOf),
B(Star), R(11),
- B(LdaConstant), U8(13),
+ B(LdaConstant), U8(14),
B(TestEqualStrict), R(11), U8(20),
B(JumpIfFalse), U8(4),
B(Jump), U8(18),
B(Wide), B(LdaSmi), U16(128),
B(Star), R(11),
- B(LdaConstant), U8(14),
+ B(LdaConstant), U8(15),
B(Star), R(12),
B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
B(Throw),
@@ -486,10 +486,10 @@ bytecodes: [
B(LdrContextSlot), R(1), U8(11), R(12),
B(LdrContextSlot), R(1), U8(7), R(13),
B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2),
- B(Jump), U8(22),
+ B(Jump), U8(23),
B(Star), R(12),
B(Ldar), R(closure),
- B(CreateCatchContext), R(12), U8(11),
+ B(CreateCatchContext), R(12), U8(11), U8(16),
B(Star), R(11),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Ldar), R(11),
@@ -588,17 +588,19 @@ constant pool: [
kInstanceTypeDontCare,
kInstanceTypeDontCare,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
+ InstanceType::FIXED_ARRAY_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
+ InstanceType::FIXED_ARRAY_TYPE,
kInstanceTypeDontCare,
kInstanceTypeDontCare,
kInstanceTypeDontCare,
]
handlers: [
- [47, 677, 683],
- [147, 432, 438],
+ [47, 679, 685],
+ [147, 433, 439],
[150, 392, 394],
- [539, 551, 553],
+ [540, 552, 554],
]

Powered by Google App Engine
This is Rietveld 408576698