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

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

Issue 2504553003: [es6] Perform the IsConstructor test in GetSuperConstructor. (Closed)
Patch Set: Fix IsNull call 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/ForOf.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
index 4c413dc6da38042f3a72c15533ffb3657e33dec4..698de734ac0eb59392aac08c324643c6b67b66c2 100644
--- a/test/cctest/interpreter/bytecode_expectations/ForOf.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
@@ -11,7 +11,7 @@ snippet: "
"
frame size: 15
parameter count: 1
-bytecode array length: 272
+bytecode array length: 266
bytecodes: [
/* 30 E> */ B(StackCheck),
B(LdaZero),
@@ -19,12 +19,11 @@ bytecodes: [
B(Mov), R(context), R(11),
B(Mov), R(context), R(12),
/* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9),
- B(Star), R(13),
- B(LdaNamedProperty), R(13), U8(1), U8(2),
B(Star), R(14),
- B(CallProperty), R(14), R(13), U8(1), U8(4),
- B(JumpIfJSReceiver), U8(7),
- B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
+ B(LdaConstant), U8(1),
+ /* 48 E> */ B(LdaKeyedProperty), R(14), U8(4),
+ B(Star), R(13),
+ /* 48 E> */ B(CallProperty), R(13), R(14), U8(1), U8(2),
B(Star), R(2),
/* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8),
B(Star), R(14),
@@ -142,9 +141,9 @@ constant pool: [
FIXED_ARRAY_TYPE,
]
handlers: [
- [7, 126, 132],
- [10, 90, 92],
- [199, 209, 211],
+ [7, 120, 126],
+ [10, 84, 86],
+ [193, 203, 205],
]
---
@@ -154,7 +153,7 @@ snippet: "
"
frame size: 16
parameter count: 1
-bytecode array length: 286
+bytecode array length: 277
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(LdaConstant), U8(0),
@@ -163,12 +162,10 @@ bytecodes: [
B(Star), R(5),
B(Mov), R(context), R(12),
B(Mov), R(context), R(13),
- /* 68 S> */ B(LdaNamedProperty), R(0), U8(1), U8(2),
- B(Star), R(15),
- B(CallProperty), R(15), R(0), U8(1), U8(4),
- B(Mov), R(0), R(14),
- B(JumpIfJSReceiver), U8(7),
- B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
+ /* 68 S> */ B(LdaConstant), U8(1),
+ /* 68 E> */ B(LdaKeyedProperty), R(0), U8(4),
+ B(Star), R(14),
+ /* 68 E> */ B(CallProperty), R(14), R(0), U8(1), U8(2),
B(Star), R(3),
/* 65 S> */ B(LdaNamedProperty), R(3), U8(2), U8(8),
B(Star), R(15),
@@ -292,9 +289,9 @@ constant pool: [
FIXED_ARRAY_TYPE,
]
handlers: [
- [11, 129, 135],
- [14, 93, 95],
- [203, 213, 215],
+ [11, 120, 126],
+ [14, 84, 86],
+ [194, 204, 206],
]
---
@@ -306,7 +303,7 @@ snippet: "
"
frame size: 15
parameter count: 1
-bytecode array length: 290
+bytecode array length: 284
bytecodes: [
/* 30 E> */ B(StackCheck),
B(LdaZero),
@@ -314,12 +311,11 @@ bytecodes: [
B(Mov), R(context), R(11),
B(Mov), R(context), R(12),
/* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9),
- B(Star), R(13),
- B(LdaNamedProperty), R(13), U8(1), U8(2),
B(Star), R(14),
- B(CallProperty), R(14), R(13), U8(1), U8(4),
- B(JumpIfJSReceiver), U8(7),
- B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
+ B(LdaConstant), U8(1),
+ /* 48 E> */ B(LdaKeyedProperty), R(14), U8(4),
+ B(Star), R(13),
+ /* 48 E> */ B(CallProperty), R(13), R(14), U8(1), U8(2),
B(Star), R(2),
/* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8),
B(Star), R(14),
@@ -445,9 +441,9 @@ constant pool: [
FIXED_ARRAY_TYPE,
]
handlers: [
- [7, 144, 150],
- [10, 108, 110],
- [217, 227, 229],
+ [7, 138, 144],
+ [10, 102, 104],
+ [211, 221, 223],
]
---
@@ -457,7 +453,7 @@ snippet: "
"
frame size: 14
parameter count: 1
-bytecode array length: 297
+bytecode array length: 291
bytecodes: [
/* 30 E> */ B(StackCheck),
/* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8),
@@ -467,12 +463,11 @@ bytecodes: [
B(Mov), R(context), R(10),
B(Mov), R(context), R(11),
/* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9),
- B(Star), R(12),
- B(LdaNamedProperty), R(12), U8(2), U8(2),
B(Star), R(13),
- B(CallProperty), R(13), R(12), U8(1), U8(4),
- B(JumpIfJSReceiver), U8(7),
- B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
+ B(LdaConstant), U8(2),
+ /* 77 E> */ B(LdaKeyedProperty), R(13), U8(4),
+ B(Star), R(12),
+ /* 77 E> */ B(CallProperty), R(12), R(13), U8(1), U8(2),
B(Star), R(1),
/* 74 S> */ B(LdaNamedProperty), R(1), U8(3), U8(8),
B(Star), R(13),
@@ -600,8 +595,8 @@ constant pool: [
FIXED_ARRAY_TYPE,
]
handlers: [
- [15, 140, 146],
- [18, 104, 106],
- [214, 224, 226],
+ [15, 134, 140],
+ [18, 98, 100],
+ [208, 218, 220],
]

Powered by Google App Engine
This is Rietveld 408576698