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

Unified Diff: test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.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/AssignmentsInBinaryExpression.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden b/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden
index 1b88e085e80e4b4f37b1ce9a6142b10f60516f62..c80469b303f92849a88dcb46b5a7ba88b395a793 100644
--- a/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden
+++ b/test/cctest/interpreter/bytecode_expectations/AssignmentsInBinaryExpression.golden
@@ -16,20 +16,20 @@ frame size: 2
parameter count: 1
bytecode array length: 25
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(LdaSmi), U8(1),
- B(Star), R(1),
- B(LdaSmi), U8(2),
- B(Star), R(0),
- B(LdaSmi), U8(3),
- B(Star), R(1),
- B(LdaSmi), U8(4),
- B(Star), R(0),
- B(LdaSmi), U8(5),
- B(Star), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 49 S> */ B(LdaSmi), U8(1),
+ /* 49 E> */ B(Star), R(1),
+ /* 52 S> */ B(LdaSmi), U8(2),
+ /* 62 E> */ B(Star), R(0),
+ B(LdaSmi), U8(3),
+ /* 69 E> */ B(Star), R(1),
+ B(LdaSmi), U8(4),
+ /* 76 E> */ B(Star), R(0),
+ B(LdaSmi), U8(5),
+ /* 83 E> */ B(Star), R(1),
+ /* 89 S> */ B(Return),
]
constant pool: [
]
@@ -46,13 +46,13 @@ frame size: 2
parameter count: 1
bytecode array length: 12
bytecodes: [
- B(StackCheck),
- B(LdaSmi), U8(55),
- B(Star), R(0),
- B(LdaSmi), U8(100),
- B(Star), R(0),
- B(Star), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaSmi), U8(55),
+ /* 42 E> */ B(Star), R(0),
+ /* 57 S> */ B(LdaSmi), U8(100),
+ /* 57 E> */ B(Star), R(0),
+ /* 57 E> */ B(Star), R(1),
+ /* 75 S> */ B(Return),
]
constant pool: [
]
@@ -69,19 +69,19 @@ frame size: 3
parameter count: 1
bytecode array length: 24
bytecodes: [
- B(StackCheck),
- B(LdaSmi), U8(55),
- B(Star), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(100),
- B(Star), R(0),
- B(Add), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(101),
- B(Star), R(0),
- B(Add), R(2),
- B(Star), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaSmi), U8(55),
+ /* 42 E> */ B(Star), R(0),
+ /* 46 S> */ B(Star), R(1),
+ B(LdaSmi), U8(100),
+ /* 57 E> */ B(Star), R(0),
+ B(Add), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(101),
+ /* 69 E> */ B(Star), R(0),
+ B(Add), R(2),
+ /* 48 E> */ B(Star), R(0),
+ /* 87 S> */ B(Return),
]
constant pool: [
]
@@ -99,24 +99,24 @@ frame size: 3
parameter count: 1
bytecode array length: 32
bytecodes: [
- B(StackCheck),
- B(LdaSmi), U8(55),
- B(Star), R(0),
- B(LdaSmi), U8(56),
- B(Star), R(0),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Sub), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(57),
- B(Star), R(0),
- B(Add), R(2),
- B(Star), R(0),
- B(ToNumber),
- B(Star), R(1),
- B(Inc),
- B(Star), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaSmi), U8(55),
+ /* 42 E> */ B(Star), R(0),
+ /* 46 S> */ B(LdaSmi), U8(56),
+ /* 53 E> */ B(Star), R(0),
+ B(Star), R(1),
+ /* 61 E> */ B(Ldar), R(0),
+ B(Sub), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(57),
+ /* 68 E> */ B(Star), R(0),
+ B(Add), R(2),
+ /* 48 E> */ B(Star), R(0),
+ /* 75 S> */ B(ToNumber),
+ B(Star), R(1),
+ B(Inc),
+ /* 76 E> */ B(Star), R(0),
+ /* 90 S> */ B(Return),
]
constant pool: [
]
@@ -133,23 +133,23 @@ frame size: 4
parameter count: 1
bytecode array length: 32
bytecodes: [
- B(StackCheck),
- B(LdaSmi), U8(55),
- B(Star), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Star), R(0),
- B(Add), R(2),
- B(Star), R(3),
- B(LdaSmi), U8(2),
- B(Star), R(0),
- B(Add), R(3),
- B(Star), R(2),
- B(LdaSmi), U8(3),
- B(Star), R(0),
- B(Add), R(2),
- B(Star), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaSmi), U8(55),
+ /* 42 E> */ B(Star), R(0),
+ /* 76 S> */ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ /* 61 E> */ B(Star), R(0),
+ B(Add), R(2),
+ B(Star), R(3),
+ B(LdaSmi), U8(2),
+ /* 71 E> */ B(Star), R(0),
+ B(Add), R(3),
+ B(Star), R(2),
+ B(LdaSmi), U8(3),
+ /* 81 E> */ B(Star), R(0),
+ B(Add), R(2),
+ /* 76 E> */ B(Star), R(1),
+ /* 97 S> */ B(Return),
]
constant pool: [
]
@@ -166,23 +166,23 @@ frame size: 3
parameter count: 1
bytecode array length: 32
bytecodes: [
- B(StackCheck),
- B(LdaSmi), U8(55),
- B(Star), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(Star), R(0),
- B(Add), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(2),
- B(Star), R(0),
- B(Add), R(2),
- B(Star), R(1),
- B(LdaSmi), U8(3),
- B(Star), R(0),
- B(Add), R(1),
- B(Star), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaSmi), U8(55),
+ /* 42 E> */ B(Star), R(0),
+ /* 76 S> */ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ /* 61 E> */ B(Star), R(0),
+ B(Add), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(2),
+ /* 71 E> */ B(Star), R(0),
+ B(Add), R(2),
+ B(Star), R(1),
+ B(LdaSmi), U8(3),
+ /* 81 E> */ B(Star), R(0),
+ B(Add), R(1),
+ /* 76 E> */ B(Star), R(0),
+ /* 97 S> */ B(Return),
]
constant pool: [
]
@@ -198,42 +198,42 @@ frame size: 5
parameter count: 1
bytecode array length: 70
bytecodes: [
- B(StackCheck),
- B(LdaSmi), U8(10),
- B(Star), R(0),
- B(LdaSmi), U8(20),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Star), R(0),
- B(Add), R(2),
- B(Star), R(3),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Add), R(2),
- B(Star), R(4),
- B(LdaSmi), U8(2),
- B(Star), R(1),
- B(Mul), R(4),
- B(Add), R(3),
- B(Star), R(2),
- B(LdaSmi), U8(3),
- B(Star), R(1),
- B(Add), R(2),
- B(Star), R(3),
- B(LdaSmi), U8(4),
- B(Star), R(0),
- B(Add), R(3),
- B(Star), R(2),
- B(LdaSmi), U8(5),
- B(Star), R(1),
- B(Add), R(2),
- B(Star), R(3),
- B(Ldar), R(1),
- B(Add), R(3),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaSmi), U8(10),
+ /* 42 E> */ B(Star), R(0),
+ /* 50 S> */ B(LdaSmi), U8(20),
+ /* 50 E> */ B(Star), R(1),
+ /* 54 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ /* 68 E> */ B(Star), R(0),
+ B(Add), R(2),
+ B(Star), R(3),
+ /* 76 E> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Add), R(2),
+ B(Star), R(4),
+ B(LdaSmi), U8(2),
+ /* 88 E> */ B(Star), R(1),
+ B(Mul), R(4),
+ B(Add), R(3),
+ B(Star), R(2),
+ B(LdaSmi), U8(3),
+ /* 98 E> */ B(Star), R(1),
+ B(Add), R(2),
+ B(Star), R(3),
+ B(LdaSmi), U8(4),
+ /* 108 E> */ B(Star), R(0),
+ B(Add), R(3),
+ B(Star), R(2),
+ B(LdaSmi), U8(5),
+ /* 118 E> */ B(Star), R(1),
+ B(Add), R(2),
+ B(Star), R(3),
+ /* 125 E> */ B(Ldar), R(1),
+ B(Add), R(3),
+ /* 128 S> */ B(Return),
]
constant pool: [
]
@@ -249,27 +249,27 @@ frame size: 4
parameter count: 1
bytecode array length: 37
bytecodes: [
- B(StackCheck),
- B(LdaSmi), U8(17),
- B(Star), R(0),
- B(LdaSmi), U8(1),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Add), R(1),
- B(Star), R(2),
- B(Ldar), R(0),
- B(ToNumber),
- B(Star), R(1),
- B(Inc),
- B(Star), R(0),
- B(Ldar), R(1),
- B(Add), R(2),
- B(Star), R(3),
- B(Ldar), R(0),
- B(Inc),
- B(Star), R(0),
- B(Add), R(3),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaSmi), U8(17),
+ /* 42 E> */ B(Star), R(0),
+ /* 46 S> */ B(LdaSmi), U8(1),
+ B(Star), R(1),
+ /* 57 E> */ B(Ldar), R(0),
+ B(Add), R(1),
+ B(Star), R(2),
+ B(Ldar), R(0),
+ B(ToNumber),
+ B(Star), R(1),
+ B(Inc),
+ /* 63 E> */ B(Star), R(0),
+ B(Ldar), R(1),
+ B(Add), R(2),
+ B(Star), R(3),
+ B(Ldar), R(0),
+ B(Inc),
+ /* 72 E> */ B(Star), R(0),
+ B(Add), R(3),
+ /* 76 S> */ B(Return),
]
constant pool: [
]

Powered by Google App Engine
This is Rietveld 408576698