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

Unified Diff: test/cctest/interpreter/bytecode_expectations/BasicLoops.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/BasicLoops.golden
diff --git a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden
index 5fc6491b88cbb38a51c79601f9c5aa44104028af..7936736822dafcb064b0df0b729d0b8e0d1211a8 100644
--- a/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden
+++ b/test/cctest/interpreter/bytecode_expectations/BasicLoops.golden
@@ -17,10 +17,10 @@ frame size: 1
parameter count: 1
bytecode array length: 5
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 98 S> */ B(Return),
]
constant pool: [
]
@@ -39,10 +39,10 @@ frame size: 1
parameter count: 1
bytecode array length: 5
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 87 S> */ B(Return),
]
constant pool: [
]
@@ -65,41 +65,41 @@ frame size: 3
parameter count: 1
bytecode array length: 66
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(LdaSmi), U8(1),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(10),
- B(TestLessThan), R(2),
- B(JumpIfFalse), U8(47),
- B(StackCheck),
- B(Ldar), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(12),
- B(Mul), R(2),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Add), R(2),
- B(Star), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(3),
- B(TestEqual), R(2),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(14),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(4),
- B(TestEqual), R(2),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(4),
- B(Jump), U8(-53),
- B(Ldar), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 53 S> */ B(LdaSmi), U8(1),
+ /* 53 E> */ B(Star), R(1),
+ /* 65 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(10),
+ /* 65 E> */ B(TestLessThan), R(2),
+ B(JumpIfFalse), U8(47),
+ /* 56 E> */ B(StackCheck),
+ /* 75 S> */ B(Ldar), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(12),
+ B(Mul), R(2),
+ /* 77 E> */ B(Star), R(1),
+ /* 89 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Add), R(2),
+ /* 91 E> */ B(Star), R(0),
+ /* 102 S> */ B(Star), R(2),
+ B(LdaSmi), U8(3),
+ /* 108 E> */ B(TestEqual), R(2),
+ B(JumpIfFalse), U8(4),
+ /* 114 S> */ B(Jump), U8(14),
+ /* 126 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(4),
+ /* 132 E> */ B(TestEqual), R(2),
+ B(JumpIfFalse), U8(4),
+ /* 138 S> */ B(Jump), U8(4),
+ B(Jump), U8(-53),
+ /* 147 S> */ B(Ldar), R(1),
+ /* 157 S> */ B(Return),
]
constant pool: [
]
@@ -123,48 +123,48 @@ frame size: 2
parameter count: 1
bytecode array length: 79
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(StackCheck),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaZero),
- B(TestLessThan), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(60),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(3),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(50),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(4),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(38),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(10),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(24),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(5),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(14),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(Add), R(1),
- B(Star), R(0),
- B(Jump), U8(-70),
- B(Ldar), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 45 E> */ B(StackCheck),
+ /* 62 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaZero),
+ /* 68 E> */ B(TestLessThan), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 73 S> */ B(Jump), U8(60),
+ /* 85 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(3),
+ /* 91 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 97 S> */ B(Jump), U8(50),
+ /* 106 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(4),
+ /* 112 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 118 S> */ B(Jump), U8(38),
+ /* 127 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(10),
+ /* 133 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 140 S> */ B(Jump), U8(24),
+ /* 152 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(5),
+ /* 158 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 164 S> */ B(Jump), U8(14),
+ /* 173 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ B(Add), R(1),
+ /* 175 E> */ B(Star), R(0),
+ B(Jump), U8(-70),
+ /* 186 S> */ B(Ldar), R(0),
+ /* 196 S> */ B(Return),
]
constant pool: [
]
@@ -188,37 +188,37 @@ frame size: 2
parameter count: 1
bytecode array length: 57
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(StackCheck),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(3),
- B(TestLessThan), R(1),
- B(JumpIfFalse), U8(27),
- B(StackCheck),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(2),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(14),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(Add), R(1),
- B(Star), R(0),
- B(Jump), U8(-33),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(Add), R(1),
- B(Star), R(0),
- B(Jump), U8(4),
- B(Jump), U8(-48),
- B(Ldar), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 45 E> */ B(StackCheck),
+ /* 71 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(3),
+ /* 71 E> */ B(TestLessThan), R(1),
+ B(JumpIfFalse), U8(27),
+ /* 62 E> */ B(StackCheck),
+ /* 82 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(2),
+ /* 88 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 94 S> */ B(Jump), U8(14),
+ /* 105 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ B(Add), R(1),
+ /* 107 E> */ B(Star), R(0),
+ B(Jump), U8(-33),
+ /* 122 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ B(Add), R(1),
+ /* 124 E> */ B(Star), R(0),
+ /* 135 S> */ B(Jump), U8(4),
+ B(Jump), U8(-48),
+ /* 144 S> */ B(Ldar), R(0),
+ /* 154 S> */ B(Return),
]
constant pool: [
]
@@ -239,27 +239,27 @@ frame size: 3
parameter count: 1
bytecode array length: 39
bytecodes: [
- B(StackCheck),
- B(LdaSmi), U8(10),
- B(Star), R(0),
- B(LdaSmi), U8(1),
- B(Star), R(1),
- B(Ldar), R(0),
- B(JumpIfToBooleanFalse), U8(25),
- B(StackCheck),
- B(Ldar), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(12),
- B(Mul), R(2),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Sub), R(2),
- B(Star), R(0),
- B(Jump), U8(-25),
- B(Ldar), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaSmi), U8(10),
+ /* 42 E> */ B(Star), R(0),
+ /* 54 S> */ B(LdaSmi), U8(1),
+ /* 54 E> */ B(Star), R(1),
+ /* 64 S> */ B(Ldar), R(0),
+ B(JumpIfToBooleanFalse), U8(25),
+ /* 57 E> */ B(StackCheck),
+ /* 71 S> */ B(Ldar), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(12),
+ B(Mul), R(2),
+ /* 73 E> */ B(Star), R(1),
+ /* 85 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Sub), R(2),
+ /* 87 E> */ B(Star), R(0),
+ B(Jump), U8(-25),
+ /* 98 S> */ B(Ldar), R(1),
+ /* 108 S> */ B(Return),
]
constant pool: [
]
@@ -281,41 +281,41 @@ frame size: 3
parameter count: 1
bytecode array length: 66
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(LdaSmi), U8(1),
- B(Star), R(1),
- B(StackCheck),
- B(Ldar), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(10),
- B(Mul), R(2),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(5),
- B(TestEqual), R(2),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(34),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(6),
- B(TestEqual), R(2),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(12),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Add), R(2),
- B(Star), R(0),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(10),
- B(TestLessThan), R(2),
- B(JumpIfTrue), U8(-53),
- B(Ldar), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 53 S> */ B(LdaSmi), U8(1),
+ /* 53 E> */ B(Star), R(1),
+ /* 56 E> */ B(StackCheck),
+ /* 63 S> */ B(Ldar), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(10),
+ B(Mul), R(2),
+ /* 65 E> */ B(Star), R(1),
+ /* 77 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(5),
+ /* 83 E> */ B(TestEqual), R(2),
+ B(JumpIfFalse), U8(4),
+ /* 89 S> */ B(Jump), U8(34),
+ /* 98 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(6),
+ /* 104 E> */ B(TestEqual), R(2),
+ B(JumpIfFalse), U8(4),
+ /* 110 S> */ B(Jump), U8(12),
+ /* 122 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Add), R(2),
+ /* 124 E> */ B(Star), R(0),
+ /* 144 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(10),
+ /* 144 E> */ B(TestLessThan), R(2),
+ B(JumpIfTrue), U8(-53),
+ /* 151 S> */ B(Ldar), R(1),
+ /* 161 S> */ B(Return),
]
constant pool: [
]
@@ -336,26 +336,26 @@ frame size: 3
parameter count: 1
bytecode array length: 37
bytecodes: [
- B(StackCheck),
- B(LdaSmi), U8(10),
- B(Star), R(0),
- B(LdaSmi), U8(1),
- B(Star), R(1),
- B(StackCheck),
- B(Ldar), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(12),
- B(Mul), R(2),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Sub), R(2),
- B(Star), R(0),
- B(Ldar), R(0),
- B(JumpIfToBooleanTrue), U8(-23),
- B(Ldar), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaSmi), U8(10),
+ /* 42 E> */ B(Star), R(0),
+ /* 54 S> */ B(LdaSmi), U8(1),
+ /* 54 E> */ B(Star), R(1),
+ /* 57 E> */ B(StackCheck),
+ /* 64 S> */ B(Ldar), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(12),
+ B(Mul), R(2),
+ /* 66 E> */ B(Star), R(1),
+ /* 78 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Sub), R(2),
+ /* 80 E> */ B(Star), R(0),
+ /* 98 S> */ B(Ldar), R(0),
+ B(JumpIfToBooleanTrue), U8(-23),
+ /* 102 S> */ B(Ldar), R(1),
+ /* 112 S> */ B(Return),
]
constant pool: [
]
@@ -377,35 +377,35 @@ frame size: 3
parameter count: 1
bytecode array length: 54
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(LdaSmi), U8(1),
- B(Star), R(1),
- B(StackCheck),
- B(Ldar), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(10),
- B(Mul), R(2),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(5),
- B(TestEqual), R(2),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(22),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Add), R(2),
- B(Star), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(6),
- B(TestEqual), R(2),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(2),
- B(Ldar), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 53 S> */ B(LdaSmi), U8(1),
+ /* 53 E> */ B(Star), R(1),
+ /* 56 E> */ B(StackCheck),
+ /* 63 S> */ B(Ldar), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(10),
+ B(Mul), R(2),
+ /* 65 E> */ B(Star), R(1),
+ /* 77 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(5),
+ /* 83 E> */ B(TestEqual), R(2),
+ B(JumpIfFalse), U8(4),
+ /* 89 S> */ B(Jump), U8(22),
+ /* 98 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Add), R(2),
+ /* 100 E> */ B(Star), R(0),
+ /* 111 S> */ B(Star), R(2),
+ B(LdaSmi), U8(6),
+ /* 117 E> */ B(TestEqual), R(2),
+ B(JumpIfFalse), U8(4),
+ /* 123 S> */ B(Jump), U8(2),
+ /* 150 S> */ B(Ldar), R(1),
+ /* 160 S> */ B(Return),
]
constant pool: [
]
@@ -427,36 +427,36 @@ frame size: 3
parameter count: 1
bytecode array length: 56
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(LdaSmi), U8(1),
- B(Star), R(1),
- B(StackCheck),
- B(Ldar), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(10),
- B(Mul), R(2),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(5),
- B(TestEqual), R(2),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(24),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Add), R(2),
- B(Star), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(6),
- B(TestEqual), R(2),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(2),
- B(Jump), U8(-43),
- B(Ldar), R(1),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 53 S> */ B(LdaSmi), U8(1),
+ /* 53 E> */ B(Star), R(1),
+ /* 56 E> */ B(StackCheck),
+ /* 63 S> */ B(Ldar), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(10),
+ B(Mul), R(2),
+ /* 65 E> */ B(Star), R(1),
+ /* 77 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(5),
+ /* 83 E> */ B(TestEqual), R(2),
+ B(JumpIfFalse), U8(4),
+ /* 89 S> */ B(Jump), U8(24),
+ /* 98 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Add), R(2),
+ /* 100 E> */ B(Star), R(0),
+ /* 111 S> */ B(Star), R(2),
+ B(LdaSmi), U8(6),
+ /* 117 E> */ B(TestEqual), R(2),
+ B(JumpIfFalse), U8(4),
+ /* 123 S> */ B(Jump), U8(2),
+ B(Jump), U8(-43),
+ /* 149 S> */ B(Ldar), R(1),
+ /* 159 S> */ B(Return),
]
constant pool: [
]
@@ -476,30 +476,30 @@ frame size: 2
parameter count: 1
bytecode array length: 43
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(StackCheck),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(26),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(2),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(12),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(Add), R(1),
- B(Star), R(0),
- B(Jump), U8(-35),
- B(LdaUndefined),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 45 E> */ B(StackCheck),
+ /* 58 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ /* 64 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 70 S> */ B(Jump), U8(26),
+ /* 79 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(2),
+ /* 85 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 91 S> */ B(Jump), U8(12),
+ /* 103 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ B(Add), R(1),
+ /* 105 E> */ B(Star), R(0),
+ B(Jump), U8(-35),
+ B(LdaUndefined),
+ /* 116 S> */ B(Return),
]
constant pool: [
]
@@ -518,30 +518,30 @@ frame size: 2
parameter count: 1
bytecode array length: 43
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(StackCheck),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(26),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(2),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(12),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(Add), R(1),
- B(Star), R(0),
- B(Jump), U8(-35),
- B(LdaUndefined),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 47 S> */ B(LdaZero),
+ /* 47 E> */ B(Star), R(0),
+ /* 34 E> */ B(StackCheck),
+ /* 56 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ /* 62 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 68 S> */ B(Jump), U8(26),
+ /* 77 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(2),
+ /* 83 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 89 S> */ B(Jump), U8(12),
+ /* 101 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ B(Add), R(1),
+ /* 103 E> */ B(Star), R(0),
+ B(Jump), U8(-35),
+ B(LdaUndefined),
+ /* 114 S> */ B(Return),
]
constant pool: [
]
@@ -560,30 +560,30 @@ frame size: 2
parameter count: 1
bytecode array length: 43
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(StackCheck),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(26),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(2),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(2),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(Add), R(1),
- B(Star), R(0),
- B(Jump), U8(-35),
- B(LdaUndefined),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 45 E> */ B(StackCheck),
+ /* 68 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ /* 74 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 80 S> */ B(Jump), U8(26),
+ /* 89 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(2),
+ /* 95 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 101 S> */ B(Jump), U8(2),
+ /* 55 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ B(Add), R(1),
+ /* 55 E> */ B(Star), R(0),
+ B(Jump), U8(-35),
+ B(LdaUndefined),
+ /* 113 S> */ B(Return),
]
constant pool: [
]
@@ -601,30 +601,30 @@ frame size: 2
parameter count: 1
bytecode array length: 43
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(StackCheck),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(26),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(2),
- B(TestEqual), R(1),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(2),
- B(Ldar), R(0),
- B(Star), R(1),
- B(LdaSmi), U8(1),
- B(Add), R(1),
- B(Star), R(0),
- B(Jump), U8(-35),
- B(LdaUndefined),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 47 S> */ B(LdaZero),
+ /* 47 E> */ B(Star), R(0),
+ /* 34 E> */ B(StackCheck),
+ /* 66 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ /* 72 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 78 S> */ B(Jump), U8(26),
+ /* 87 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(2),
+ /* 93 E> */ B(TestEqual), R(1),
+ B(JumpIfFalse), U8(4),
+ /* 99 S> */ B(Jump), U8(2),
+ /* 53 S> */ B(Ldar), R(0),
+ B(Star), R(1),
+ B(LdaSmi), U8(1),
+ B(Add), R(1),
+ /* 53 E> */ B(Star), R(0),
+ B(Jump), U8(-35),
+ B(LdaUndefined),
+ /* 111 S> */ B(Return),
]
constant pool: [
]
@@ -643,31 +643,31 @@ frame size: 3
parameter count: 1
bytecode array length: 44
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(LdaZero),
- B(Star), R(1),
- B(Ldar), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(100),
- B(TestLessThan), R(2),
- B(JumpIfFalse), U8(27),
- B(StackCheck),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Add), R(2),
- B(Star), R(0),
- B(Jump), U8(2),
- B(Ldar), R(1),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Add), R(2),
- B(Star), R(1),
- B(Jump), U8(-33),
- B(LdaUndefined),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 58 S> */ B(LdaZero),
+ /* 58 E> */ B(Star), R(1),
+ /* 63 S> */ B(Ldar), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(100),
+ /* 63 E> */ B(TestLessThan), R(2),
+ B(JumpIfFalse), U8(27),
+ /* 45 E> */ B(StackCheck),
+ /* 85 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Add), R(2),
+ /* 87 E> */ B(Star), R(0),
+ /* 98 S> */ B(Jump), U8(2),
+ /* 72 S> */ B(Ldar), R(1),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Add), R(2),
+ /* 72 E> */ B(Star), R(1),
+ B(Jump), U8(-33),
+ B(LdaUndefined),
+ /* 110 S> */ B(Return),
]
constant pool: [
]
@@ -686,25 +686,25 @@ frame size: 3
parameter count: 1
bytecode array length: 34
bytecodes: [
- B(StackCheck),
- B(LdaSmi), U8(1),
- B(Star), R(0),
- B(LdaSmi), U8(10),
- B(Star), R(1),
- B(Ldar), R(1),
- B(JumpIfToBooleanFalse), U8(20),
- B(StackCheck),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(12),
- B(Mul), R(2),
- B(Star), R(0),
- B(Ldar), R(1),
- B(Dec),
- B(Star), R(1),
- B(Jump), U8(-20),
- B(Ldar), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaSmi), U8(1),
+ /* 42 E> */ B(Star), R(0),
+ /* 58 S> */ B(LdaSmi), U8(10),
+ /* 58 E> */ B(Star), R(1),
+ /* 62 S> */ B(Ldar), R(1),
+ B(JumpIfToBooleanFalse), U8(20),
+ /* 45 E> */ B(StackCheck),
+ /* 74 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(12),
+ B(Mul), R(2),
+ /* 76 E> */ B(Star), R(0),
+ /* 67 S> */ B(Ldar), R(1),
+ B(Dec),
+ /* 67 E> */ B(Star), R(1),
+ B(Jump), U8(-20),
+ /* 88 S> */ B(Ldar), R(0),
+ /* 98 S> */ B(Return),
]
constant pool: [
]
@@ -723,13 +723,13 @@ frame size: 2
parameter count: 1
bytecode array length: 10
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(LdaZero),
- B(Star), R(1),
- B(Ldar), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 58 S> */ B(LdaZero),
+ /* 58 E> */ B(Star), R(1),
+ /* 91 S> */ B(Ldar), R(0),
+ /* 101 S> */ B(Return),
]
constant pool: [
]
@@ -749,28 +749,28 @@ frame size: 3
parameter count: 1
bytecode array length: 38
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(0),
- B(LdaZero),
- B(Star), R(1),
- B(StackCheck),
- B(Ldar), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(1),
- B(Add), R(2),
- B(Star), R(0),
- B(Star), R(2),
- B(LdaSmi), U8(20),
- B(TestEqual), R(2),
- B(JumpIfFalse), U8(4),
- B(Jump), U8(9),
- B(Ldar), R(1),
- B(Inc),
- B(Star), R(1),
- B(Jump), U8(-26),
- B(Ldar), R(0),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(0),
+ /* 58 S> */ B(LdaZero),
+ /* 58 E> */ B(Star), R(1),
+ /* 45 E> */ B(StackCheck),
+ /* 76 S> */ B(Ldar), R(0),
+ B(Star), R(2),
+ B(LdaSmi), U8(1),
+ B(Add), R(2),
+ /* 78 E> */ B(Star), R(0),
+ /* 89 S> */ B(Star), R(2),
+ B(LdaSmi), U8(20),
+ /* 95 E> */ B(TestEqual), R(2),
+ B(JumpIfFalse), U8(4),
+ /* 102 S> */ B(Jump), U8(9),
+ /* 69 S> */ B(Ldar), R(1),
+ B(Inc),
+ /* 69 E> */ B(Star), R(1),
+ B(Jump), U8(-26),
+ /* 112 S> */ B(Ldar), R(0),
+ /* 122 S> */ B(Return),
]
constant pool: [
]
@@ -793,59 +793,59 @@ frame size: 7
parameter count: 1
bytecode array length: 120
bytecodes: [
- B(StackCheck),
- B(LdaZero),
- B(Star), R(1),
- B(Ldar), R(1),
- B(JumpIfToBooleanFalse), U8(112),
- B(StackCheck),
- B(LdaConstant), U8(0),
- B(Star), R(4),
- B(Ldar), R(closure),
- B(Star), R(5),
- B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2),
- B(PushContext), R(3),
- B(LdaTheHole),
- B(StaContextSlot), R(context), U8(4),
- B(CreateClosure), U8(1), U8(0),
- B(Star), R(0),
- B(LdaSmi), U8(1),
- B(StaContextSlot), R(context), U8(4),
- B(Ldar), R(0),
- B(JumpIfNotHole), U8(11),
- B(LdaConstant), U8(2),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
- B(Star), R(2),
- B(LdaContextSlot), R(context), U8(4),
- B(JumpIfNotHole), U8(11),
- B(LdaConstant), U8(3),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
- B(JumpIfToBooleanFalse), U8(8),
- B(PopContext), R(3),
- B(PopContext), R(3),
- B(Jump), U8(43),
- B(LdaContextSlot), R(context), U8(4),
- B(JumpIfNotHole), U8(11),
- B(LdaConstant), U8(3),
- B(Star), R(4),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
- B(ToNumber),
- B(Star), R(4),
- B(Inc),
- B(Star), R(5),
- B(LdaContextSlot), R(context), U8(4),
- B(JumpIfNotHole), U8(11),
- B(LdaConstant), U8(3),
- B(Star), R(6),
- B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1),
- B(Ldar), R(5),
- B(StaContextSlot), R(context), U8(4),
- B(PopContext), R(3),
- B(Jump), U8(-112),
- B(LdaUndefined),
- B(Return),
+ /* 30 E> */ B(StackCheck),
+ /* 42 S> */ B(LdaZero),
+ /* 42 E> */ B(Star), R(1),
+ /* 52 S> */ B(Ldar), R(1),
+ B(JumpIfToBooleanFalse), U8(112),
+ /* 45 E> */ B(StackCheck),
+ B(LdaConstant), U8(0),
+ B(Star), R(4),
+ B(Ldar), R(closure),
+ B(Star), R(5),
+ B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2),
+ B(PushContext), R(3),
+ B(LdaTheHole),
+ B(StaContextSlot), R(context), U8(4),
+ B(CreateClosure), U8(1), U8(0),
+ B(Star), R(0),
+ /* 73 S> */ B(LdaSmi), U8(1),
+ /* 73 E> */ B(StaContextSlot), R(context), U8(4),
+ B(Ldar), R(0),
+ B(JumpIfNotHole), U8(11),
+ B(LdaConstant), U8(2),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
+ B(Star), R(2),
+ /* 106 S> */ B(LdaContextSlot), R(context), U8(4),
+ B(JumpIfNotHole), U8(11),
+ B(LdaConstant), U8(3),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
+ B(JumpIfToBooleanFalse), U8(8),
+ /* 113 S> */ B(PopContext), R(3),
+ B(PopContext), R(3),
+ B(Jump), U8(43),
+ /* 126 S> */ B(LdaContextSlot), R(context), U8(4),
+ B(JumpIfNotHole), U8(11),
+ B(LdaConstant), U8(3),
+ B(Star), R(4),
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
+ B(ToNumber),
+ B(Star), R(4),
+ B(Inc),
+ /* 127 E> */ B(Star), R(5),
+ B(LdaContextSlot), R(context), U8(4),
+ B(JumpIfNotHole), U8(11),
+ B(LdaConstant), U8(3),
+ B(Star), R(6),
+ B(CallRuntime), U16(Runtime::kThrowReferenceError), R(6), U8(1),
+ B(Ldar), R(5),
+ B(StaContextSlot), R(context), U8(4),
+ B(PopContext), R(3),
+ B(Jump), U8(-112),
+ B(LdaUndefined),
+ /* 137 S> */ B(Return),
]
constant pool: [
InstanceType::FIXED_ARRAY_TYPE,

Powered by Google App Engine
This is Rietveld 408576698