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

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

Issue 2557593004: [ignition] desugar GetIterator() via bytecode rather than via AST (Closed)
Patch Set: georg's comments Created 4 years 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 f7e392ee8d6f6efd2704600b5df9ab74a69d37cb..c583ed0d8a40648ef571f0909a828fbdff8df5ff 100644
--- a/test/cctest/interpreter/bytecode_expectations/Generators.golden
+++ b/test/cctest/interpreter/bytecode_expectations/Generators.golden
@@ -22,7 +22,7 @@ bytecodes: [
B(LdaZero),
B(TestEqualStrict), R(1), U8(0),
B(JumpIfTrue), U8(53),
- B(LdaSmi), U8(77),
+ B(LdaSmi), U8(78),
B(Star), R(2),
B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
B(LdaSmi), U8(-2),
@@ -135,7 +135,7 @@ bytecodes: [
B(LdaSmi), U8(1),
B(TestEqualStrict), R(1), U8(0),
B(JumpIfTrueConstant), U8(0),
- B(LdaSmi), U8(77),
+ B(LdaSmi), U8(78),
B(Star), R(2),
B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
B(LdaSmi), U8(-2),
@@ -277,7 +277,7 @@ snippet: "
"
frame size: 17
parameter count: 1
-bytecode array length: 769
+bytecode array length: 775
bytecodes: [
B(Ldar), R(new_target),
B(JumpIfUndefined), U8(28),
@@ -289,7 +289,7 @@ bytecodes: [
B(LdaSmi), U8(1),
B(TestEqualStrict), R(3), U8(0),
B(JumpIfTrueConstant), U8(3),
- B(LdaSmi), U8(77),
+ B(LdaSmi), U8(78),
B(Star), R(4),
B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
B(LdaSmi), U8(-2),
@@ -345,11 +345,12 @@ bytecodes: [
B(Mov), R(context), R(9),
B(Mov), R(context), R(10),
/* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(9),
- B(Star), R(12),
- B(LdaConstant), U8(2),
- /* 30 E> */ B(LdaKeyedProperty), R(12), U8(4),
B(Star), R(11),
- /* 30 E> */ B(CallProperty), R(11), R(12), U8(1), U8(2),
+ B(LdaNamedProperty), R(11), U8(2), U8(2),
+ B(Star), R(12),
+ B(CallProperty), R(12), R(11), U8(1), U8(4),
+ B(JumpIfJSReceiver), U8(7),
+ B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
/* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
B(LdaSmi), U8(-2),
B(TestEqual), R(3), U8(0),
@@ -357,7 +358,7 @@ bytecodes: [
B(LdaSmi), U8(1),
B(TestEqualStrict), R(3), U8(0),
B(JumpIfTrueConstant), U8(8),
- B(LdaSmi), U8(77),
+ B(LdaSmi), U8(78),
B(Star), R(11),
B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1),
/* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0),
@@ -605,7 +606,7 @@ constant pool: [
FIXED_ARRAY_TYPE,
FIXED_ARRAY_TYPE,
SYMBOL_TYPE,
- Smi [149],
+ Smi [155],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
@@ -620,12 +621,12 @@ constant pool: [
FIXED_ARRAY_TYPE,
Smi [133],
Smi [159],
- Smi [579],
+ Smi [585],
]
handlers: [
- [46, 688, 694],
- [143, 438, 444],
- [146, 394, 396],
- [540, 556, 558],
+ [46, 694, 700],
+ [143, 444, 450],
+ [146, 400, 402],
+ [546, 562, 564],
]

Powered by Google App Engine
This is Rietveld 408576698