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

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

Issue 1783483002: [interpreter] Add support for scalable operands. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Re-generate golden files. Created 4 years, 9 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/ForOf.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/ForOf.golden b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
index 9ab97afe19541b8b937880f097eb744c1409e341..e912a9d95f7be9d50c4c32ec49e0d496e6e5b80b 100644
--- a/test/cctest/interpreter/bytecode_expectations/ForOf.golden
+++ b/test/cctest/interpreter/bytecode_expectations/ForOf.golden
@@ -13,7 +13,7 @@ snippet: "
"
frame size: 16
parameter count: 1
-bytecode array length: 344
+bytecode array length: 346
bytecodes: [
B(StackCheck),
B(LdaUndefined),
@@ -46,7 +46,7 @@ bytecodes: [
B(Star), R(13),
B(LoadIC), R(13), U8(3), U8(9),
B(JumpIfToBooleanTrue), U8(28),
- B(LdaSmi8), U8(2),
+ B(LdaSmi), U8(2),
B(Star), R(3),
B(Ldar), R(2),
B(Star), R(13),
@@ -72,14 +72,14 @@ bytecodes: [
B(PushContext), R(8),
B(Ldar), R(3),
B(Star), R(13),
- B(LdaSmi8), U8(2),
+ B(LdaSmi), U8(2),
B(TestEqualStrict), R(13),
B(JumpIfFalse), U8(6),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(Star), R(3),
B(LdaContextSlot), R(context), U8(4),
B(Throw),
- B(LdaSmi8), U8(-1),
+ B(LdaSmi), U8(-1),
B(Star), R(9),
B(Jump), U8(7),
B(Star), R(10),
@@ -97,7 +97,7 @@ bytecodes: [
B(LdaUndefined),
B(TestEqualStrict), R(12),
B(LogicalNot),
- B(JumpIfFalseConstant), U8(10),
+ B(JumpIfFalseConstant), U8(9),
B(Ldar), R(1),
B(Star), R(12),
B(LoadIC), R(12), U8(6), U8(13),
@@ -106,22 +106,22 @@ bytecodes: [
B(LdaNull),
B(TestEqual), R(12),
B(JumpIfFalse), U8(4),
- B(Jump), U8(122),
+ B(Jump), U8(124),
B(Ldar), R(3),
B(Star), R(12),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(TestEqualStrict), R(12),
- B(JumpIfFalse), U8(77),
+ B(JumpIfFalse), U8(79),
B(Ldar), R(5),
B(TypeOf),
B(Star), R(12),
B(LdaConstant), U8(7),
B(TestEqualStrict), R(12),
B(JumpIfFalse), U8(4),
- B(Jump), U8(16),
- B(LdaConstant), U8(8),
+ B(Jump), U8(18),
+ B(Wide), B(LdaSmi), U16(137),
B(Star), R(12),
- B(LdaConstant), U8(9),
+ B(LdaConstant), U8(8),
B(Star), R(13),
B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2),
B(Throw),
@@ -176,14 +176,13 @@ constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
- kInstanceTypeDontCare,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
kInstanceTypeDontCare,
]
handlers: [
[10, 151, 157],
[13, 105, 107],
- [247, 260, 262],
+ [249, 262, 264],
]
---
@@ -193,7 +192,7 @@ snippet: "
"
frame size: 17
parameter count: 1
-bytecode array length: 360
+bytecode array length: 362
bytecodes: [
B(StackCheck),
B(LdaConstant), U8(0),
@@ -228,7 +227,7 @@ bytecodes: [
B(Star), R(14),
B(LoadIC), R(14), U8(3), U8(9),
B(JumpIfToBooleanTrue), U8(32),
- B(LdaSmi8), U8(2),
+ B(LdaSmi), U8(2),
B(Star), R(3),
B(Ldar), R(2),
B(Star), R(14),
@@ -256,18 +255,18 @@ bytecodes: [
B(PushContext), R(9),
B(Ldar), R(3),
B(Star), R(14),
- B(LdaSmi8), U8(2),
+ B(LdaSmi), U8(2),
B(TestEqualStrict), R(14),
B(JumpIfFalse), U8(6),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(Star), R(3),
B(LdaContextSlot), R(context), U8(4),
B(Throw),
- B(LdaSmi8), U8(-1),
+ B(LdaSmi), U8(-1),
B(Star), R(10),
B(Jump), U8(8),
B(Star), R(11),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(Star), R(10),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Star), R(12),
@@ -281,7 +280,7 @@ bytecodes: [
B(LdaUndefined),
B(TestEqualStrict), R(13),
B(LogicalNot),
- B(JumpIfFalseConstant), U8(10),
+ B(JumpIfFalseConstant), U8(9),
B(Ldar), R(1),
B(Star), R(13),
B(LoadIC), R(13), U8(6), U8(13),
@@ -290,22 +289,22 @@ bytecodes: [
B(LdaNull),
B(TestEqual), R(13),
B(JumpIfFalse), U8(4),
- B(Jump), U8(122),
+ B(Jump), U8(124),
B(Ldar), R(3),
B(Star), R(13),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(TestEqualStrict), R(13),
- B(JumpIfFalse), U8(77),
+ B(JumpIfFalse), U8(79),
B(Ldar), R(5),
B(TypeOf),
B(Star), R(13),
B(LdaConstant), U8(7),
B(TestEqualStrict), R(13),
B(JumpIfFalse), U8(4),
- B(Jump), U8(16),
- B(LdaConstant), U8(8),
+ B(Jump), U8(18),
+ B(Wide), B(LdaSmi), U16(137),
B(Star), R(13),
- B(LdaConstant), U8(9),
+ B(LdaConstant), U8(8),
B(Star), R(14),
B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2),
B(Throw),
@@ -345,7 +344,7 @@ bytecodes: [
B(LdaZero),
B(TestEqualStrict), R(10),
B(JumpIfTrue), U8(10),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(TestEqualStrict), R(10),
B(JumpIfTrue), U8(7),
B(Jump), U8(8),
@@ -365,14 +364,13 @@ constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
- kInstanceTypeDontCare,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
kInstanceTypeDontCare,
]
handlers: [
[14, 157, 163],
[17, 111, 113],
- [254, 267, 269],
+ [256, 269, 271],
]
---
@@ -384,7 +382,7 @@ snippet: "
"
frame size: 16
parameter count: 1
-bytecode array length: 366
+bytecode array length: 368
bytecodes: [
B(StackCheck),
B(LdaUndefined),
@@ -417,7 +415,7 @@ bytecodes: [
B(Star), R(13),
B(LoadIC), R(13), U8(3), U8(9),
B(JumpIfToBooleanTrue), U8(50),
- B(LdaSmi8), U8(2),
+ B(LdaSmi), U8(2),
B(Star), R(3),
B(Ldar), R(2),
B(Star), R(13),
@@ -428,13 +426,13 @@ bytecodes: [
B(Ldar), R(0),
B(Star), R(7),
B(Star), R(13),
- B(LdaSmi8), U8(10),
+ B(LdaSmi), U8(10),
B(TestEqual), R(13),
B(JumpIfFalse), U8(4),
B(Jump), U8(-75),
B(Ldar), R(7),
B(Star), R(13),
- B(LdaSmi8), U8(20),
+ B(LdaSmi), U8(20),
B(TestEqual), R(13),
B(JumpIfFalse), U8(4),
B(Jump), U8(7),
@@ -454,14 +452,14 @@ bytecodes: [
B(PushContext), R(8),
B(Ldar), R(3),
B(Star), R(13),
- B(LdaSmi8), U8(2),
+ B(LdaSmi), U8(2),
B(TestEqualStrict), R(13),
B(JumpIfFalse), U8(6),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(Star), R(3),
B(LdaContextSlot), R(context), U8(4),
B(Throw),
- B(LdaSmi8), U8(-1),
+ B(LdaSmi), U8(-1),
B(Star), R(9),
B(Jump), U8(7),
B(Star), R(10),
@@ -479,7 +477,7 @@ bytecodes: [
B(LdaUndefined),
B(TestEqualStrict), R(12),
B(LogicalNot),
- B(JumpIfFalseConstant), U8(10),
+ B(JumpIfFalseConstant), U8(9),
B(Ldar), R(1),
B(Star), R(12),
B(LoadIC), R(12), U8(6), U8(13),
@@ -488,22 +486,22 @@ bytecodes: [
B(LdaNull),
B(TestEqual), R(12),
B(JumpIfFalse), U8(4),
- B(Jump), U8(122),
+ B(Jump), U8(124),
B(Ldar), R(3),
B(Star), R(12),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(TestEqualStrict), R(12),
- B(JumpIfFalse), U8(77),
+ B(JumpIfFalse), U8(79),
B(Ldar), R(5),
B(TypeOf),
B(Star), R(12),
B(LdaConstant), U8(7),
B(TestEqualStrict), R(12),
B(JumpIfFalse), U8(4),
- B(Jump), U8(16),
- B(LdaConstant), U8(8),
+ B(Jump), U8(18),
+ B(Wide), B(LdaSmi), U16(137),
B(Star), R(12),
- B(LdaConstant), U8(9),
+ B(LdaConstant), U8(8),
B(Star), R(13),
B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2),
B(Throw),
@@ -558,14 +556,13 @@ constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
- kInstanceTypeDontCare,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
kInstanceTypeDontCare,
]
handlers: [
[10, 173, 179],
[13, 127, 129],
- [269, 282, 284],
+ [271, 284, 286],
]
---
@@ -575,7 +572,7 @@ snippet: "
"
frame size: 15
parameter count: 1
-bytecode array length: 376
+bytecode array length: 378
bytecodes: [
B(StackCheck),
B(CreateObjectLiteral), U8(0), U8(0), U8(5),
@@ -611,7 +608,7 @@ bytecodes: [
B(Star), R(12),
B(LoadIC), R(12), U8(4), U8(9),
B(JumpIfToBooleanTrue), U8(42),
- B(LdaSmi8), U8(2),
+ B(LdaSmi), U8(2),
B(Star), R(2),
B(Ldar), R(6),
B(Star), R(12),
@@ -642,18 +639,18 @@ bytecodes: [
B(PushContext), R(7),
B(Ldar), R(2),
B(Star), R(12),
- B(LdaSmi8), U8(2),
+ B(LdaSmi), U8(2),
B(TestEqualStrict), R(12),
B(JumpIfFalse), U8(6),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(Star), R(2),
B(LdaContextSlot), R(context), U8(4),
B(Throw),
- B(LdaSmi8), U8(-1),
+ B(LdaSmi), U8(-1),
B(Star), R(8),
B(Jump), U8(8),
B(Star), R(9),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(Star), R(8),
B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R(0), U8(0),
B(Star), R(10),
@@ -667,7 +664,7 @@ bytecodes: [
B(LdaUndefined),
B(TestEqualStrict), R(11),
B(LogicalNot),
- B(JumpIfFalseConstant), U8(12),
+ B(JumpIfFalseConstant), U8(11),
B(Ldar), R(0),
B(Star), R(11),
B(LoadIC), R(11), U8(8), U8(17),
@@ -676,22 +673,22 @@ bytecodes: [
B(LdaNull),
B(TestEqual), R(11),
B(JumpIfFalse), U8(4),
- B(Jump), U8(122),
+ B(Jump), U8(124),
B(Ldar), R(2),
B(Star), R(11),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(TestEqualStrict), R(11),
- B(JumpIfFalse), U8(77),
+ B(JumpIfFalse), U8(79),
B(Ldar), R(4),
B(TypeOf),
B(Star), R(11),
B(LdaConstant), U8(9),
B(TestEqualStrict), R(11),
B(JumpIfFalse), U8(4),
- B(Jump), U8(16),
- B(LdaConstant), U8(10),
+ B(Jump), U8(18),
+ B(Wide), B(LdaSmi), U16(137),
B(Star), R(11),
- B(LdaConstant), U8(11),
+ B(LdaConstant), U8(10),
B(Star), R(12),
B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
B(Throw),
@@ -731,7 +728,7 @@ bytecodes: [
B(LdaZero),
B(TestEqualStrict), R(8),
B(JumpIfTrue), U8(10),
- B(LdaSmi8), U8(1),
+ B(LdaSmi), U8(1),
B(TestEqualStrict), R(8),
B(JumpIfTrue), U8(7),
B(Jump), U8(8),
@@ -753,13 +750,12 @@ constant pool: [
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
- kInstanceTypeDontCare,
InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
kInstanceTypeDontCare,
]
handlers: [
[18, 173, 179],
[21, 127, 129],
- [270, 283, 285],
+ [272, 285, 287],
]

Powered by Google App Engine
This is Rietveld 408576698