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

Unified Diff: test/cctest/interpreter/bytecode_expectations/ForOf.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
« no previous file with comments | « src/runtime/runtime-scopes.cc ('k') | test/cctest/interpreter/bytecode_expectations/Generators.golden » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/cctest/interpreter/bytecode_expectations/ForOf.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
index 0f01c5819dfd97b0d0eaf73d1146782db2f11b67..47f5cefe1285f07ad91f7b616c0366d1b5e22ae8 100644
--- a/test/cctest/interpreter/bytecode_expectations/ForOf.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
@@ -13,7 +13,7 @@ snippet: "
"
frame size: 15
parameter count: 1
-bytecode array length: 275
+bytecode array length: 277
bytecodes: [
/* 30 E> */ B(StackCheck),
B(LdaZero),
@@ -44,10 +44,10 @@ bytecodes: [
B(LdaZero),
B(Star), R(4),
B(Jump), U8(-49),
- B(Jump), U8(35),
+ B(Jump), U8(36),
B(Star), R(13),
B(Ldar), R(closure),
- B(CreateCatchContext), R(13), U8(5),
+ B(CreateCatchContext), R(13), U8(5), U8(6),
B(Star), R(12),
B(PushContext), R(8),
B(LdaSmi), U8(2),
@@ -68,28 +68,28 @@ bytecodes: [
B(Star), R(11),
B(LdaZero),
B(TestEqualStrict), R(4), U8(14),
- B(JumpIfTrue), U8(120),
+ B(JumpIfTrue), U8(121),
B(LdaUndefined),
B(TestEqualStrict), R(2), U8(15),
- B(JumpIfTrue), U8(114),
- B(LdrNamedProperty), R(2), U8(6), U8(16), R(6),
+ B(JumpIfTrue), U8(115),
+ B(LdrNamedProperty), R(2), U8(7), U8(16), R(6),
B(LdaNull),
B(TestEqual), R(6), U8(18),
B(JumpIfFalse), U8(4),
- B(Jump), U8(101),
+ B(Jump), U8(102),
B(LdaSmi), U8(1),
B(TestEqualStrict), R(4), U8(19),
- B(JumpIfFalse), U8(69),
+ B(JumpIfFalse), U8(70),
B(Ldar), R(6),
B(TypeOf),
B(Star), R(12),
- B(LdaConstant), U8(7),
+ B(LdaConstant), U8(8),
B(TestEqualStrict), R(12), U8(20),
B(JumpIfFalse), U8(4),
B(Jump), U8(18),
B(Wide), B(LdaSmi), U16(128),
B(Star), R(12),
- B(LdaConstant), U8(8),
+ B(LdaConstant), U8(9),
B(Star), R(13),
B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2),
B(Throw),
@@ -97,10 +97,10 @@ bytecodes: [
B(Mov), R(6), R(13),
B(Mov), R(2), R(14),
B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2),
- B(Jump), U8(22),
+ B(Jump), U8(23),
B(Star), R(13),
B(Ldar), R(closure),
- B(CreateCatchContext), R(13), U8(5),
+ B(CreateCatchContext), R(13), U8(5), U8(10),
B(Star), R(12),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Ldar), R(12),
@@ -132,14 +132,16 @@ constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
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,
]
handlers: [
- [7, 115, 121],
+ [7, 116, 122],
[10, 80, 82],
- [198, 208, 210],
+ [199, 209, 211],
]
---
@@ -149,7 +151,7 @@ snippet: "
"
frame size: 16
parameter count: 1
-bytecode array length: 287
+bytecode array length: 289
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaConstant), U8(0),
@@ -180,11 +182,11 @@ bytecodes: [
/* 73 S> */ B(LdaZero),
B(Star), R(10),
B(Mov), R(1), R(11),
- B(Jump), U8(49),
- B(Jump), U8(35),
+ B(Jump), U8(50),
+ B(Jump), U8(36),
B(Star), R(14),
B(Ldar), R(closure),
- B(CreateCatchContext), R(14), U8(5),
+ B(CreateCatchContext), R(14), U8(5), U8(6),
B(Star), R(13),
B(PushContext), R(9),
B(LdaSmi), U8(2),
@@ -205,28 +207,28 @@ bytecodes: [
B(Star), R(12),
B(LdaZero),
B(TestEqualStrict), R(5), U8(14),
- B(JumpIfTrue), U8(120),
+ B(JumpIfTrue), U8(121),
B(LdaUndefined),
B(TestEqualStrict), R(3), U8(15),
- B(JumpIfTrue), U8(114),
- B(LdrNamedProperty), R(3), U8(6), U8(16), R(7),
+ B(JumpIfTrue), U8(115),
+ B(LdrNamedProperty), R(3), U8(7), U8(16), R(7),
B(LdaNull),
B(TestEqual), R(7), U8(18),
B(JumpIfFalse), U8(4),
- B(Jump), U8(101),
+ B(Jump), U8(102),
B(LdaSmi), U8(1),
B(TestEqualStrict), R(5), U8(19),
- B(JumpIfFalse), U8(69),
+ B(JumpIfFalse), U8(70),
B(Ldar), R(7),
B(TypeOf),
B(Star), R(13),
- B(LdaConstant), U8(7),
+ B(LdaConstant), U8(8),
B(TestEqualStrict), R(13), U8(20),
B(JumpIfFalse), U8(4),
B(Jump), U8(18),
B(Wide), B(LdaSmi), U16(128),
B(Star), R(13),
- B(LdaConstant), U8(8),
+ B(LdaConstant), U8(9),
B(Star), R(14),
B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2),
B(Throw),
@@ -234,10 +236,10 @@ bytecodes: [
B(Mov), R(7), R(14),
B(Mov), R(3), R(15),
B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2),
- B(Jump), U8(22),
+ B(Jump), U8(23),
B(Star), R(14),
B(Ldar), R(closure),
- B(CreateCatchContext), R(14), U8(5),
+ B(CreateCatchContext), R(14), U8(5), U8(10),
B(Star), R(13),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Ldar), R(13),
@@ -274,14 +276,16 @@ constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
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,
]
handlers: [
- [11, 116, 122],
+ [11, 117, 123],
[14, 81, 83],
- [200, 210, 212],
+ [201, 211, 213],
]
---
@@ -293,7 +297,7 @@ snippet: "
"
frame size: 15
parameter count: 1
-bytecode array length: 293
+bytecode array length: 295
bytecodes: [
/* 30 E> */ B(StackCheck),
B(LdaZero),
@@ -332,10 +336,10 @@ bytecodes: [
B(LdaZero),
B(Star), R(4),
B(Jump), U8(-67),
- B(Jump), U8(35),
+ B(Jump), U8(36),
B(Star), R(13),
B(Ldar), R(closure),
- B(CreateCatchContext), R(13), U8(5),
+ B(CreateCatchContext), R(13), U8(5), U8(6),
B(Star), R(12),
B(PushContext), R(8),
B(LdaSmi), U8(2),
@@ -356,28 +360,28 @@ bytecodes: [
B(Star), R(11),
B(LdaZero),
B(TestEqualStrict), R(4), U8(16),
- B(JumpIfTrue), U8(120),
+ B(JumpIfTrue), U8(121),
B(LdaUndefined),
B(TestEqualStrict), R(2), U8(17),
- B(JumpIfTrue), U8(114),
- B(LdrNamedProperty), R(2), U8(6), U8(18), R(6),
+ B(JumpIfTrue), U8(115),
+ B(LdrNamedProperty), R(2), U8(7), U8(18), R(6),
B(LdaNull),
B(TestEqual), R(6), U8(20),
B(JumpIfFalse), U8(4),
- B(Jump), U8(101),
+ B(Jump), U8(102),
B(LdaSmi), U8(1),
B(TestEqualStrict), R(4), U8(21),
- B(JumpIfFalse), U8(69),
+ B(JumpIfFalse), U8(70),
B(Ldar), R(6),
B(TypeOf),
B(Star), R(12),
- B(LdaConstant), U8(7),
+ B(LdaConstant), U8(8),
B(TestEqualStrict), R(12), U8(22),
B(JumpIfFalse), U8(4),
B(Jump), U8(18),
B(Wide), B(LdaSmi), U16(128),
B(Star), R(12),
- B(LdaConstant), U8(8),
+ B(LdaConstant), U8(9),
B(Star), R(13),
B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2),
B(Throw),
@@ -385,10 +389,10 @@ bytecodes: [
B(Mov), R(6), R(13),
B(Mov), R(2), R(14),
B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2),
- B(Jump), U8(22),
+ B(Jump), U8(23),
B(Star), R(13),
B(Ldar), R(closure),
- B(CreateCatchContext), R(13), U8(5),
+ B(CreateCatchContext), R(13), U8(5), U8(10),
B(Star), R(12),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Ldar), R(12),
@@ -420,14 +424,16 @@ constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
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,
]
handlers: [
- [7, 133, 139],
+ [7, 134, 140],
[10, 98, 100],
- [216, 226, 228],
+ [217, 227, 229],
]
---
@@ -437,7 +443,7 @@ snippet: "
"
frame size: 14
parameter count: 1
-bytecode array length: 300
+bytecode array length: 302
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8),
@@ -471,11 +477,11 @@ bytecodes: [
/* 96 E> */ B(LdrNamedProperty), R(0), U8(6), U8(15), R(9),
B(LdaZero),
B(Star), R(8),
- B(Jump), U8(49),
- B(Jump), U8(35),
+ B(Jump), U8(50),
+ B(Jump), U8(36),
B(Star), R(12),
B(Ldar), R(closure),
- B(CreateCatchContext), R(12), U8(7),
+ B(CreateCatchContext), R(12), U8(7), U8(8),
B(Star), R(11),
B(PushContext), R(7),
B(LdaSmi), U8(2),
@@ -496,28 +502,28 @@ bytecodes: [
B(Star), R(10),
B(LdaZero),
B(TestEqualStrict), R(3), U8(18),
- B(JumpIfTrue), U8(120),
+ B(JumpIfTrue), U8(121),
B(LdaUndefined),
B(TestEqualStrict), R(1), U8(19),
- B(JumpIfTrue), U8(114),
- B(LdrNamedProperty), R(1), U8(8), U8(20), R(5),
+ B(JumpIfTrue), U8(115),
+ B(LdrNamedProperty), R(1), U8(9), U8(20), R(5),
B(LdaNull),
B(TestEqual), R(5), U8(22),
B(JumpIfFalse), U8(4),
- B(Jump), U8(101),
+ B(Jump), U8(102),
B(LdaSmi), U8(1),
B(TestEqualStrict), R(3), U8(23),
- B(JumpIfFalse), U8(69),
+ B(JumpIfFalse), U8(70),
B(Ldar), R(5),
B(TypeOf),
B(Star), R(11),
- B(LdaConstant), U8(9),
+ B(LdaConstant), U8(10),
B(TestEqualStrict), R(11), U8(24),
B(JumpIfFalse), U8(4),
B(Jump), U8(18),
B(Wide), B(LdaSmi), U16(128),
B(Star), R(11),
- B(LdaConstant), U8(10),
+ B(LdaConstant), U8(11),
B(Star), R(12),
B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
B(Throw),
@@ -525,10 +531,10 @@ bytecodes: [
B(Mov), R(5), R(12),
B(Mov), R(1), 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(7),
+ B(CreateCatchContext), R(12), U8(7), U8(12),
B(Star), R(11),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Ldar), R(11),
@@ -567,13 +573,15 @@ constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
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,
]
handlers: [
- [15, 129, 135],
+ [15, 130, 136],
[18, 94, 96],
- [213, 223, 225],
+ [214, 224, 226],
]
« no previous file with comments | « src/runtime/runtime-scopes.cc ('k') | test/cctest/interpreter/bytecode_expectations/Generators.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698