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

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

Issue 1963663002: [interpreter] Add checks for source position to test-bytecode-generator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix bad implicit cast. Created 4 years, 7 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/WideRegisters.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden b/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden
index 7ef6cbd0d48b9488510e7128f82409c5abbfee72..2c23cce71977b91bf555151179a51dafd9597f61 100644
--- a/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden
+++ b/test/cctest/interpreter/bytecode_expectations/WideRegisters.golden
@@ -173,10 +173,10 @@ frame size: 157
parameter count: 1
bytecode array length: 8
bytecodes: [
- B(StackCheck),
- B(Wide), B(Ldar), R16(127),
- B(Star), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 1494 S> */ B(Wide), B(Ldar), R16(127),
+ /* 1497 E> */ B(Star), R(0),
+ /* 1516 S> */ B(Return),
]
constant pool: [
]
@@ -349,10 +349,10 @@ frame size: 157
parameter count: 1
bytecode array length: 10
bytecodes: [
- B(StackCheck),
- B(Wide), B(Ldar), R16(126),
- B(Wide), B(Star), R16(127),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 1494 S> */ B(Wide), B(Ldar), R16(126),
+ /* 1499 E> */ B(Wide), B(Star), R16(127),
+ /* 1520 S> */ B(Return),
]
constant pool: [
]
@@ -525,16 +525,16 @@ frame size: 158
parameter count: 1
bytecode array length: 25
bytecodes: [
- B(StackCheck),
- B(Ldar), R(2),
- B(Wide), B(Star), R16(157),
- B(LdaSmi), U8(3),
- B(Wide), B(TestGreaterThan), R16(157),
- B(JumpIfFalse), U8(7),
- B(Wide), B(Ldar), R16(129),
- B(Return),
- B(Wide), B(Ldar), R16(128),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 1494 S> */ B(Ldar), R(2),
+ B(Wide), B(Star), R16(157),
+ B(LdaSmi), U8(3),
+ /* 1501 E> */ B(Wide), B(TestGreaterThan), R16(157),
+ B(JumpIfFalse), U8(7),
+ /* 1508 S> */ B(Wide), B(Ldar), R16(129),
+ /* 1536 S> */ B(Return),
+ /* 1523 S> */ B(Wide), B(Ldar), R16(128),
+ /* 1536 S> */ B(Return),
]
constant pool: [
]
@@ -709,25 +709,25 @@ frame size: 158
parameter count: 1
bytecode array length: 48
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(Wide), B(Ldar), R16(129),
- B(Wide), B(Star), R16(157),
- B(LdaSmi), U8(3),
- B(Wide), B(TestEqual), R16(157),
- B(JumpIfFalse), U8(8),
- B(Ldar), R(0),
- B(Wide), B(Star), R16(129),
- B(Ldar), R(2),
- B(Wide), B(Star), R16(157),
- B(LdaSmi), U8(3),
- B(Wide), B(TestGreaterThan), R16(157),
- B(JumpIfFalse), U8(5),
- B(Ldar), R(0),
- B(Return),
- B(Wide), B(Ldar), R16(129),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 1503 S> */ B(LdaZero),
+ /* 1503 E> */ B(Star), R(0),
+ /* 1506 S> */ B(Wide), B(Ldar), R16(129),
+ B(Wide), B(Star), R16(157),
+ B(LdaSmi), U8(3),
+ /* 1515 E> */ B(Wide), B(TestEqual), R16(157),
+ B(JumpIfFalse), U8(8),
+ /* 1534 S> */ B(Ldar), R(0),
+ /* 1534 E> */ B(Wide), B(Star), R16(129),
+ /* 1540 S> */ B(Ldar), R(2),
+ B(Wide), B(Star), R16(157),
+ B(LdaSmi), U8(3),
+ /* 1547 E> */ B(Wide), B(TestGreaterThan), R16(157),
+ B(JumpIfFalse), U8(5),
+ /* 1554 S> */ B(Ldar), R(0),
+ /* 1580 S> */ B(Return),
+ /* 1567 S> */ B(Wide), B(Ldar), R16(129),
+ /* 1580 S> */ B(Return),
]
constant pool: [
]
@@ -901,32 +901,32 @@ frame size: 158
parameter count: 1
bytecode array length: 66
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(LdaZero),
- B(Star), R(1),
- B(LdaZero),
- B(Wide), B(Star), R16(128),
- B(Wide), B(Ldar), R16(128),
- B(Wide), B(Star), R16(157),
- B(LdaSmi), U8(64),
- B(Wide), B(TestLessThan), R16(157),
- B(JumpIfFalse), U8(35),
- B(StackCheck),
- B(Ldar), R(1),
- B(Wide), B(Star), R16(157),
- B(Wide), B(Ldar), R16(128),
- B(Wide), B(Add), R16(157),
- B(Star), R(1),
- B(Wide), B(Ldar), R16(128),
- B(ToNumber),
- B(Wide), B(Star), R16(157),
- B(Inc),
- B(Wide), B(Star), R16(128),
- B(Jump), U8(-47),
- B(Wide), B(Ldar), R16(128),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 1503 S> */ B(LdaZero),
+ /* 1503 E> */ B(Star), R(0),
+ /* 1515 S> */ B(LdaZero),
+ /* 1515 E> */ B(Star), R(1),
+ /* 1523 S> */ B(LdaZero),
+ /* 1528 E> */ B(Wide), B(Star), R16(128),
+ /* 1538 S> */ B(Wide), B(Ldar), R16(128),
+ B(Wide), B(Star), R16(157),
+ B(LdaSmi), U8(64),
+ /* 1538 E> */ B(Wide), B(TestLessThan), R16(157),
+ B(JumpIfFalse), U8(35),
+ /* 1518 E> */ B(StackCheck),
+ /* 1555 S> */ B(Ldar), R(1),
+ B(Wide), B(Star), R16(157),
+ /* 1561 E> */ B(Wide), B(Ldar), R16(128),
+ B(Wide), B(Add), R16(157),
+ /* 1558 E> */ B(Star), R(1),
+ /* 1548 S> */ B(Wide), B(Ldar), R16(128),
+ B(ToNumber),
+ B(Wide), B(Star), R16(157),
+ B(Inc),
+ /* 1548 E> */ B(Wide), B(Star), R16(128),
+ B(Jump), U8(-47),
+ /* 1567 S> */ B(Wide), B(Ldar), R16(128),
+ /* 1580 S> */ B(Return),
]
constant pool: [
]
@@ -1100,35 +1100,35 @@ frame size: 163
parameter count: 1
bytecode array length: 84
bytecodes: [
- B(StackCheck),
- B(Wide), B(LdaSmi), U16(1234),
- B(Star), R(0),
- B(LdaZero),
- B(Star), R(1),
- B(Ldar), R(0),
- B(JumpIfUndefined), U8(69),
- B(JumpIfNull), U8(67),
- B(ToObject),
- B(Wide), B(Star), R16(157),
- B(Wide), B(ForInPrepare), R16(158),
- B(LdaZero),
- B(Wide), B(Star), R16(161),
- B(Wide), B(ForInDone), R16(161), R16(160),
- B(JumpIfTrue), U8(45),
- B(Wide), B(ForInNext), R16(157), R16(161), R16(158), U16(1),
- B(JumpIfUndefined), U8(23),
- B(Wide), B(Star), R16(128),
- B(StackCheck),
- B(Ldar), R(1),
- B(Wide), B(Star), R16(162),
- B(Wide), B(Ldar), R16(128),
- B(Wide), B(Add), R16(162),
- B(Star), R(1),
- B(Wide), B(ForInStep), R16(161),
- B(Wide), B(Star), R16(161),
- B(Jump), U8(-49),
- B(Ldar), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 1503 S> */ B(Wide), B(LdaSmi), U16(1234),
+ /* 1503 E> */ B(Star), R(0),
+ /* 1518 S> */ B(LdaZero),
+ /* 1518 E> */ B(Star), R(1),
+ /* 1534 S> */ B(Ldar), R(0),
+ B(JumpIfUndefined), U8(69),
+ B(JumpIfNull), U8(67),
+ B(ToObject),
+ B(Wide), B(Star), R16(157),
+ B(Wide), B(ForInPrepare), R16(158),
+ B(LdaZero),
+ B(Wide), B(Star), R16(161),
+ /* 1526 S> */ B(Wide), B(ForInDone), R16(161), R16(160),
+ B(JumpIfTrue), U8(45),
+ B(Wide), B(ForInNext), R16(157), R16(161), R16(158), U16(1),
+ B(JumpIfUndefined), U8(23),
+ B(Wide), B(Star), R16(128),
+ /* 1521 E> */ B(StackCheck),
+ /* 1541 S> */ B(Ldar), R(1),
+ B(Wide), B(Star), R16(162),
+ /* 1547 E> */ B(Wide), B(Ldar), R16(128),
+ B(Wide), B(Add), R16(162),
+ /* 1544 E> */ B(Star), R(1),
+ B(Wide), B(ForInStep), R16(161),
+ B(Wide), B(Star), R16(161),
+ B(Jump), U8(-49),
+ /* 1553 S> */ B(Ldar), R(1),
+ /* 1564 S> */ B(Return),
]
constant pool: [
]
@@ -1303,22 +1303,22 @@ frame size: 159
parameter count: 1
bytecode array length: 55
bytecodes: [
- B(StackCheck),
- B(Ldar), R(64),
- B(Wide), B(Star), R16(157),
- B(Ldar), R(63),
- B(Wide), B(Star), R16(158),
- B(Wide), B(CallRuntime), U16(Runtime::kAdd), R16(157), U16(2),
- B(Star), R(0),
- B(Ldar), R(27),
- B(Wide), B(Star), R16(157),
- B(Wide), B(Ldar), R16(143),
- B(Wide), B(Star), R16(158),
- B(Wide), B(CallRuntime), U16(Runtime::kAdd), R16(157), U16(2),
- B(Star), R(1),
- B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0),
- B(Ldar), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 1494 S> */ B(Ldar), R(64),
+ B(Wide), B(Star), R16(157),
+ /* 1509 E> */ B(Ldar), R(63),
+ B(Wide), B(Star), R16(158),
+ B(Wide), B(CallRuntime), U16(Runtime::kAdd), R16(157), U16(2),
+ /* 1497 E> */ B(Star), R(0),
+ /* 1515 S> */ B(Ldar), R(27),
+ B(Wide), B(Star), R16(157),
+ /* 1530 E> */ B(Wide), B(Ldar), R16(143),
+ B(Wide), B(Star), R16(158),
+ B(Wide), B(CallRuntime), U16(Runtime::kAdd), R16(157), U16(2),
+ /* 1518 E> */ B(Star), R(1),
+ /* 1537 S> */ B(CallRuntime), U16(Runtime::kTheHole), R(0), U8(0),
+ /* 1549 S> */ B(Ldar), R(1),
+ /* 1560 S> */ B(Return),
]
constant pool: [
]

Powered by Google App Engine
This is Rietveld 408576698