OLD | NEW |
1 # | 1 # |
2 # Autogenerated by generate-bytecode-expectations. | 2 # Autogenerated by generate-bytecode-expectations. |
3 # | 3 # |
4 | 4 |
5 --- | 5 --- |
6 wrap: yes | 6 wrap: yes |
7 | 7 |
8 --- | 8 --- |
9 snippet: " | 9 snippet: " |
10 for (var p of [0, 1, 2]) {} | 10 for (var p of [0, 1, 2]) {} |
11 " | 11 " |
12 frame size: 15 | 12 frame size: 16 |
13 parameter count: 1 | 13 parameter count: 1 |
14 bytecode array length: 272 | 14 bytecode array length: 316 |
15 bytecodes: [ | 15 bytecodes: [ |
16 /* 30 E> */ B(StackCheck), | 16 /* 30 E> */ B(StackCheck), |
| 17 B(LdaConstant), U8(0), |
| 18 B(Star), R(9), |
17 B(LdaZero), | 19 B(LdaZero), |
18 B(Star), R(4), | 20 B(Star), R(4), |
19 B(Mov), R(context), R(11), | 21 B(Mov), R(context), R(11), |
20 B(Mov), R(context), R(12), | 22 B(Mov), R(context), R(12), |
21 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(9), | 23 /* 48 S> */ B(LdaConstant), U8(1), |
22 B(Star), R(13), | 24 B(Star), R(13), |
23 B(LdaNamedProperty), R(13), U8(1), U8(3), | 25 B(CreateArrayLiteral), U8(2), U8(4), U8(9), |
24 B(Star), R(14), | 26 B(Star), R(14), |
25 B(CallProperty), R(14), R(13), U8(1), U8(5), | 27 B(LdaNamedProperty), R(14), U8(3), U8(5), |
| 28 B(Star), R(15), |
| 29 B(CallProperty), R(15), R(14), U8(1), U8(7), |
26 B(JumpIfJSReceiver), U8(7), | 30 B(JumpIfJSReceiver), U8(7), |
27 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 31 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
28 B(Star), R(2), | 32 B(Star), R(2), |
29 /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(9), | 33 /* 45 S> */ B(LdaConstant), U8(4), |
30 B(Star), R(13), | 34 B(Star), R(13), |
31 /* 45 E> */ B(CallProperty), R(13), R(2), U8(1), U8(7), | 35 B(LdaNamedProperty), R(2), U8(5), U8(13), |
| 36 B(Star), R(14), |
| 37 /* 45 E> */ B(CallProperty), R(14), R(2), U8(1), U8(11), |
32 B(Star), R(3), | 38 B(Star), R(3), |
33 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), | 39 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), |
34 B(ToBooleanLogicalNot), | 40 B(ToBooleanLogicalNot), |
35 B(JumpIfFalse), U8(7), | 41 B(JumpIfFalse), U8(7), |
36 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(3), U8(1), | 42 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(3), U8(1), |
37 B(LdaNamedProperty), R(3), U8(3), U8(11), | 43 B(LdaNamedProperty), R(3), U8(6), U8(17), |
38 B(JumpIfToBooleanTrue), U8(25), | 44 B(JumpIfToBooleanTrue), U8(45), |
39 B(LdaNamedProperty), R(3), U8(4), U8(13), | 45 B(LdaConstant), U8(7), |
| 46 B(Star), R(13), |
| 47 B(LdaConstant), U8(0), |
| 48 B(Star), R(14), |
| 49 B(LdaNamedProperty), R(3), U8(8), U8(19), |
40 B(Star), R(5), | 50 B(Star), R(5), |
| 51 B(LdaConstant), U8(0), |
| 52 B(Star), R(14), |
41 B(LdaSmi), I8(2), | 53 B(LdaSmi), I8(2), |
42 B(Star), R(4), | 54 B(Star), R(4), |
43 B(Mov), R(5), R(0), | 55 B(Mov), R(5), R(0), |
44 /* 34 E> */ B(StackCheck), | 56 /* 34 E> */ B(StackCheck), |
45 B(Mov), R(0), R(1), | 57 B(LdaConstant), U8(9), |
| 58 B(Star), R(13), |
| 59 B(Mov), R(5), R(1), |
| 60 B(LdaConstant), U8(0), |
| 61 B(Star), R(13), |
46 B(LdaZero), | 62 B(LdaZero), |
47 B(Star), R(4), | 63 B(Star), R(4), |
48 B(JumpLoop), U8(51), I8(0), | 64 B(JumpLoop), U8(75), I8(0), |
49 B(Jump), U8(36), | 65 B(Jump), U8(40), |
50 B(Star), R(13), | 66 B(Star), R(13), |
51 B(Ldar), R(closure), | 67 B(Ldar), R(closure), |
52 B(CreateCatchContext), R(13), U8(5), U8(6), | 68 B(CreateCatchContext), R(13), U8(10), U8(11), |
53 B(Star), R(12), | 69 B(Star), R(12), |
54 B(PushContext), R(8), | 70 B(PushContext), R(8), |
55 B(LdaSmi), I8(2), | 71 B(LdaSmi), I8(2), |
56 B(TestEqualStrict), R(4), U8(15), | 72 B(TestEqualStrict), R(4), U8(31), |
57 B(JumpIfFalse), U8(6), | 73 B(JumpIfFalse), U8(10), |
| 74 B(LdaConstant), U8(0), |
| 75 B(Star), R(13), |
58 B(LdaSmi), I8(1), | 76 B(LdaSmi), I8(1), |
59 B(Star), R(4), | 77 B(Star), R(4), |
60 B(LdaImmutableCurrentContextSlot), U8(4), | 78 B(LdaImmutableCurrentContextSlot), U8(4), |
61 B(Star), R(13), | 79 B(Star), R(13), |
62 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), | 80 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), |
63 B(PopContext), R(8), | 81 B(PopContext), R(8), |
64 B(LdaSmi), I8(-1), | 82 B(LdaSmi), I8(-1), |
65 B(Star), R(9), | 83 B(Star), R(9), |
66 B(Jump), U8(7), | 84 B(Jump), U8(7), |
67 B(Star), R(10), | 85 B(Star), R(10), |
68 B(LdaZero), | 86 B(LdaZero), |
69 B(Star), R(9), | 87 B(Star), R(9), |
70 B(LdaTheHole), | 88 B(LdaTheHole), |
71 B(SetPendingMessage), | 89 B(SetPendingMessage), |
72 B(Star), R(11), | 90 B(Star), R(11), |
73 B(LdaZero), | 91 B(LdaZero), |
74 B(TestEqualStrict), R(4), U8(16), | 92 B(TestEqualStrict), R(4), U8(34), |
75 B(JumpIfTrue), U8(111), | 93 B(JumpIfTrue), U8(119), |
76 B(LdaNamedProperty), R(2), U8(7), U8(17), | 94 B(LdaConstant), U8(0), |
| 95 B(Star), R(12), |
| 96 B(LdaNamedProperty), R(2), U8(12), U8(35), |
77 B(Star), R(6), | 97 B(Star), R(6), |
78 B(TestUndetectable), R(6), | 98 B(TestUndetectable), R(6), |
79 B(JumpIfFalse), U8(4), | 99 B(JumpIfFalse), U8(4), |
80 B(Jump), U8(99), | 100 B(Jump), U8(103), |
81 B(LdaSmi), I8(1), | 101 B(LdaSmi), I8(1), |
82 B(TestEqualStrict), R(4), U8(20), | 102 B(TestEqualStrict), R(4), U8(40), |
83 B(JumpIfFalse), U8(67), | 103 B(JumpIfFalse), U8(67), |
84 B(Ldar), R(6), | 104 B(Ldar), R(6), |
85 B(TypeOf), | 105 B(TypeOf), |
86 B(Star), R(12), | 106 B(Star), R(12), |
87 B(LdaConstant), U8(8), | 107 B(LdaConstant), U8(13), |
88 B(TestEqualStrict), R(12), U8(21), | 108 B(TestEqualStrict), R(12), U8(41), |
89 B(JumpIfFalse), U8(4), | 109 B(JumpIfFalse), U8(4), |
90 B(Jump), U8(18), | 110 B(Jump), U8(18), |
91 B(Wide), B(LdaSmi), I16(130), | 111 B(Wide), B(LdaSmi), I16(130), |
92 B(Star), R(12), | 112 B(Star), R(12), |
93 B(LdaConstant), U8(9), | 113 B(LdaConstant), U8(0), |
94 B(Star), R(13), | 114 B(Star), R(13), |
95 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), | 115 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), |
96 B(Throw), | 116 B(Throw), |
97 B(Mov), R(context), R(12), | 117 B(Mov), R(context), R(12), |
98 B(Mov), R(6), R(13), | 118 B(Mov), R(6), R(13), |
99 B(Mov), R(2), R(14), | 119 B(Mov), R(2), R(14), |
100 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), | 120 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), |
101 B(Jump), U8(20), | 121 B(Jump), U8(20), |
102 B(Star), R(13), | 122 B(Star), R(13), |
103 B(Ldar), R(closure), | 123 B(Ldar), R(closure), |
104 B(CreateCatchContext), R(13), U8(5), U8(10), | 124 B(CreateCatchContext), R(13), U8(10), U8(14), |
105 B(Star), R(12), | 125 B(Star), R(12), |
106 B(LdaTheHole), | 126 B(LdaTheHole), |
107 B(SetPendingMessage), | 127 B(SetPendingMessage), |
108 B(Ldar), R(12), | 128 B(Ldar), R(12), |
109 B(PushContext), R(8), | 129 B(PushContext), R(8), |
110 B(PopContext), R(8), | 130 B(PopContext), R(8), |
111 B(Jump), U8(27), | 131 B(Jump), U8(31), |
112 B(Mov), R(6), R(12), | 132 B(LdaConstant), U8(0), |
113 B(Mov), R(2), R(13), | 133 B(Star), R(12), |
114 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), | 134 B(Mov), R(6), R(13), |
| 135 B(Mov), R(2), R(14), |
| 136 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), |
115 B(Star), R(7), | 137 B(Star), R(7), |
116 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(7), U8(1), | 138 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(7), U8(1), |
117 B(JumpIfToBooleanFalse), U8(4), | 139 B(JumpIfToBooleanFalse), U8(4), |
118 B(Jump), U8(7), | 140 B(Jump), U8(7), |
119 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(7), U8(1), | 141 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(7), U8(1), |
120 B(Ldar), R(11), | 142 B(Ldar), R(11), |
121 B(SetPendingMessage), | 143 B(SetPendingMessage), |
122 B(LdaZero), | 144 B(LdaZero), |
123 B(TestEqualStrict), R(9), U8(0), | 145 B(TestEqualStrict), R(9), U8(0), |
124 B(JumpIfTrue), U8(4), | 146 B(JumpIfTrue), U8(4), |
125 B(Jump), U8(5), | 147 B(Jump), U8(5), |
126 B(Ldar), R(10), | 148 B(Ldar), R(10), |
127 B(ReThrow), | 149 B(ReThrow), |
128 B(LdaUndefined), | 150 B(LdaUndefined), |
129 /* 62 S> */ B(Return), | 151 /* 62 S> */ B(Return), |
130 ] | 152 ] |
131 constant pool: [ | 153 constant pool: [ |
| 154 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 155 ONE_BYTE_INTERNALIZED_STRING_TYPE [".iterator"], |
132 CONSTANT_ELEMENTS_PAIR_TYPE, | 156 CONSTANT_ELEMENTS_PAIR_TYPE, |
133 SYMBOL_TYPE, | 157 SYMBOL_TYPE, |
| 158 ONE_BYTE_INTERNALIZED_STRING_TYPE [".result"], |
134 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 159 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
135 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 160 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
| 161 ONE_BYTE_INTERNALIZED_STRING_TYPE [".for"], |
136 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 162 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
| 163 ONE_BYTE_INTERNALIZED_STRING_TYPE ["p"], |
137 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 164 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
138 FIXED_ARRAY_TYPE, | 165 FIXED_ARRAY_TYPE, |
139 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 166 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
140 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 167 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
141 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | |
142 FIXED_ARRAY_TYPE, | 168 FIXED_ARRAY_TYPE, |
143 ] | 169 ] |
144 handlers: [ | 170 handlers: [ |
145 [7, 126, 132], | 171 [11, 162, 168], |
146 [10, 90, 92], | 172 [14, 122, 124], |
147 [199, 209, 211], | 173 [239, 249, 251], |
148 ] | 174 ] |
149 | 175 |
150 --- | 176 --- |
151 snippet: " | 177 snippet: " |
152 var x = 'potatoes'; | 178 var x = 'potatoes'; |
153 for (var p of x) { return p; } | 179 for (var p of x) { return p; } |
154 " | 180 " |
155 frame size: 16 | 181 frame size: 17 |
156 parameter count: 1 | 182 parameter count: 1 |
157 bytecode array length: 286 | 183 bytecode array length: 330 |
158 bytecodes: [ | 184 bytecodes: [ |
159 /* 30 E> */ B(StackCheck), | 185 /* 30 E> */ B(StackCheck), |
160 /* 42 S> */ B(LdaConstant), U8(0), | 186 /* 42 S> */ B(LdaConstant), U8(0), |
| 187 B(Star), R(10), |
| 188 B(LdaConstant), U8(1), |
161 B(Star), R(0), | 189 B(Star), R(0), |
| 190 B(LdaConstant), U8(2), |
| 191 B(Star), R(10), |
162 B(LdaZero), | 192 B(LdaZero), |
163 B(Star), R(5), | 193 B(Star), R(5), |
164 B(Mov), R(context), R(12), | 194 B(Mov), R(context), R(12), |
165 B(Mov), R(context), R(13), | 195 B(Mov), R(context), R(13), |
166 /* 68 S> */ B(LdaNamedProperty), R(0), U8(1), U8(2), | 196 /* 68 S> */ B(LdaConstant), U8(3), |
167 B(Star), R(15), | 197 B(Star), R(14), |
168 B(CallProperty), R(15), R(0), U8(1), U8(4), | 198 /* 68 E> */ B(LdaNamedProperty), R(0), U8(4), U8(6), |
169 B(Mov), R(0), R(14), | 199 B(Star), R(16), |
| 200 B(CallProperty), R(16), R(0), U8(1), U8(8), |
| 201 B(Mov), R(0), R(15), |
170 B(JumpIfJSReceiver), U8(7), | 202 B(JumpIfJSReceiver), U8(7), |
171 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 203 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
172 B(Star), R(3), | 204 B(Star), R(3), |
173 /* 65 S> */ B(LdaNamedProperty), R(3), U8(2), U8(8), | 205 /* 65 S> */ B(LdaConstant), U8(5), |
174 B(Star), R(14), | 206 B(Star), R(14), |
175 /* 65 E> */ B(CallProperty), R(14), R(3), U8(1), U8(6), | 207 B(LdaNamedProperty), R(3), U8(6), U8(14), |
| 208 B(Star), R(15), |
| 209 /* 65 E> */ B(CallProperty), R(15), R(3), U8(1), U8(12), |
176 B(Star), R(4), | 210 B(Star), R(4), |
177 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1), | 211 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1), |
178 B(ToBooleanLogicalNot), | 212 B(ToBooleanLogicalNot), |
179 B(JumpIfFalse), U8(7), | 213 B(JumpIfFalse), U8(7), |
180 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(4), U8(1), | 214 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(4), U8(1), |
181 B(LdaNamedProperty), R(4), U8(3), U8(10), | 215 B(LdaNamedProperty), R(4), U8(7), U8(18), |
182 B(JumpIfToBooleanTrue), U8(27), | 216 B(JumpIfToBooleanTrue), U8(43), |
183 B(LdaNamedProperty), R(4), U8(4), U8(12), | 217 B(LdaConstant), U8(8), |
| 218 B(Star), R(14), |
| 219 B(LdaConstant), U8(2), |
| 220 B(Star), R(15), |
| 221 B(LdaNamedProperty), R(4), U8(9), U8(20), |
184 B(Star), R(6), | 222 B(Star), R(6), |
| 223 B(LdaConstant), U8(2), |
| 224 B(Star), R(15), |
185 B(LdaSmi), I8(2), | 225 B(LdaSmi), I8(2), |
186 B(Star), R(5), | 226 B(Star), R(5), |
187 B(Mov), R(6), R(1), | 227 B(Mov), R(6), R(1), |
188 /* 54 E> */ B(StackCheck), | 228 /* 54 E> */ B(StackCheck), |
189 B(Mov), R(1), R(2), | 229 B(LdaConstant), U8(10), |
| 230 B(Star), R(14), |
| 231 B(Mov), R(6), R(2), |
190 /* 73 S> */ B(LdaZero), | 232 /* 73 S> */ B(LdaZero), |
191 B(Star), R(10), | 233 B(Star), R(10), |
192 B(Mov), R(1), R(11), | 234 B(Mov), R(1), R(11), |
193 B(Jump), U8(50), | 235 B(Jump), U8(54), |
194 B(Jump), U8(36), | 236 B(Jump), U8(40), |
195 B(Star), R(14), | 237 B(Star), R(14), |
196 B(Ldar), R(closure), | 238 B(Ldar), R(closure), |
197 B(CreateCatchContext), R(14), U8(5), U8(6), | 239 B(CreateCatchContext), R(14), U8(11), U8(12), |
198 B(Star), R(13), | 240 B(Star), R(13), |
199 B(PushContext), R(9), | 241 B(PushContext), R(9), |
200 B(LdaSmi), I8(2), | 242 B(LdaSmi), I8(2), |
201 B(TestEqualStrict), R(5), U8(14), | 243 B(TestEqualStrict), R(5), U8(32), |
202 B(JumpIfFalse), U8(6), | 244 B(JumpIfFalse), U8(10), |
| 245 B(LdaConstant), U8(2), |
| 246 B(Star), R(14), |
203 B(LdaSmi), I8(1), | 247 B(LdaSmi), I8(1), |
204 B(Star), R(5), | 248 B(Star), R(5), |
205 B(LdaImmutableCurrentContextSlot), U8(4), | 249 B(LdaImmutableCurrentContextSlot), U8(4), |
206 B(Star), R(14), | 250 B(Star), R(14), |
207 B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1), | 251 B(CallRuntime), U16(Runtime::kReThrow), R(14), U8(1), |
208 B(PopContext), R(9), | 252 B(PopContext), R(9), |
209 B(LdaSmi), I8(-1), | 253 B(LdaSmi), I8(-1), |
210 B(Star), R(10), | 254 B(Star), R(10), |
211 B(Jump), U8(8), | 255 B(Jump), U8(8), |
212 B(Star), R(11), | 256 B(Star), R(11), |
213 B(LdaSmi), I8(1), | 257 B(LdaSmi), I8(1), |
214 B(Star), R(10), | 258 B(Star), R(10), |
215 B(LdaTheHole), | 259 B(LdaTheHole), |
216 B(SetPendingMessage), | 260 B(SetPendingMessage), |
217 B(Star), R(12), | 261 B(Star), R(12), |
218 B(LdaZero), | 262 B(LdaZero), |
219 B(TestEqualStrict), R(5), U8(15), | 263 B(TestEqualStrict), R(5), U8(35), |
220 B(JumpIfTrue), U8(111), | 264 B(JumpIfTrue), U8(119), |
221 B(LdaNamedProperty), R(3), U8(7), U8(16), | 265 B(LdaConstant), U8(2), |
| 266 B(Star), R(13), |
| 267 B(LdaNamedProperty), R(3), U8(13), U8(36), |
222 B(Star), R(7), | 268 B(Star), R(7), |
223 B(TestUndetectable), R(7), | 269 B(TestUndetectable), R(7), |
224 B(JumpIfFalse), U8(4), | 270 B(JumpIfFalse), U8(4), |
225 B(Jump), U8(99), | 271 B(Jump), U8(103), |
226 B(LdaSmi), I8(1), | 272 B(LdaSmi), I8(1), |
227 B(TestEqualStrict), R(5), U8(19), | 273 B(TestEqualStrict), R(5), U8(41), |
228 B(JumpIfFalse), U8(67), | 274 B(JumpIfFalse), U8(67), |
229 B(Ldar), R(7), | 275 B(Ldar), R(7), |
230 B(TypeOf), | 276 B(TypeOf), |
231 B(Star), R(13), | 277 B(Star), R(13), |
232 B(LdaConstant), U8(8), | 278 B(LdaConstant), U8(14), |
233 B(TestEqualStrict), R(13), U8(20), | 279 B(TestEqualStrict), R(13), U8(42), |
234 B(JumpIfFalse), U8(4), | 280 B(JumpIfFalse), U8(4), |
235 B(Jump), U8(18), | 281 B(Jump), U8(18), |
236 B(Wide), B(LdaSmi), I16(130), | 282 B(Wide), B(LdaSmi), I16(130), |
237 B(Star), R(13), | 283 B(Star), R(13), |
238 B(LdaConstant), U8(9), | 284 B(LdaConstant), U8(2), |
239 B(Star), R(14), | 285 B(Star), R(14), |
240 B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2), | 286 B(CallRuntime), U16(Runtime::kNewTypeError), R(13), U8(2), |
241 B(Throw), | 287 B(Throw), |
242 B(Mov), R(context), R(13), | 288 B(Mov), R(context), R(13), |
243 B(Mov), R(7), R(14), | 289 B(Mov), R(7), R(14), |
244 B(Mov), R(3), R(15), | 290 B(Mov), R(3), R(15), |
245 B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2), | 291 B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2), |
246 B(Jump), U8(20), | 292 B(Jump), U8(20), |
247 B(Star), R(14), | 293 B(Star), R(14), |
248 B(Ldar), R(closure), | 294 B(Ldar), R(closure), |
249 B(CreateCatchContext), R(14), U8(5), U8(10), | 295 B(CreateCatchContext), R(14), U8(11), U8(15), |
250 B(Star), R(13), | 296 B(Star), R(13), |
251 B(LdaTheHole), | 297 B(LdaTheHole), |
252 B(SetPendingMessage), | 298 B(SetPendingMessage), |
253 B(Ldar), R(13), | 299 B(Ldar), R(13), |
254 B(PushContext), R(9), | 300 B(PushContext), R(9), |
255 B(PopContext), R(9), | 301 B(PopContext), R(9), |
256 B(Jump), U8(27), | 302 B(Jump), U8(31), |
257 B(Mov), R(7), R(13), | 303 B(LdaConstant), U8(2), |
258 B(Mov), R(3), R(14), | 304 B(Star), R(13), |
259 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), | 305 B(Mov), R(7), R(14), |
| 306 B(Mov), R(3), R(15), |
| 307 B(InvokeIntrinsic), U8(Runtime::k_Call), R(14), U8(2), |
260 B(Star), R(8), | 308 B(Star), R(8), |
261 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(8), U8(1), | 309 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(8), U8(1), |
262 B(JumpIfToBooleanFalse), U8(4), | 310 B(JumpIfToBooleanFalse), U8(4), |
263 B(Jump), U8(7), | 311 B(Jump), U8(7), |
264 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(8), U8(1), | 312 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(8), U8(1), |
265 B(Ldar), R(12), | 313 B(Ldar), R(12), |
266 B(SetPendingMessage), | 314 B(SetPendingMessage), |
267 B(LdaZero), | 315 B(LdaZero), |
268 B(TestEqualStrict), R(10), U8(0), | 316 B(TestEqualStrict), R(10), U8(0), |
269 B(JumpIfTrue), U8(11), | 317 B(JumpIfTrue), U8(11), |
270 B(LdaSmi), I8(1), | 318 B(LdaSmi), I8(1), |
271 B(TestEqualStrict), R(10), U8(0), | 319 B(TestEqualStrict), R(10), U8(0), |
272 B(JumpIfTrue), U8(7), | 320 B(JumpIfTrue), U8(7), |
273 B(Jump), U8(8), | 321 B(Jump), U8(8), |
274 B(Ldar), R(11), | 322 B(Ldar), R(11), |
275 /* 85 S> */ B(Return), | 323 /* 85 S> */ B(Return), |
276 B(Ldar), R(11), | 324 B(Ldar), R(11), |
277 B(ReThrow), | 325 B(ReThrow), |
278 B(LdaUndefined), | 326 B(LdaUndefined), |
279 /* 85 S> */ B(Return), | 327 /* 85 S> */ B(Return), |
280 ] | 328 ] |
281 constant pool: [ | 329 constant pool: [ |
| 330 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
282 ONE_BYTE_INTERNALIZED_STRING_TYPE ["potatoes"], | 331 ONE_BYTE_INTERNALIZED_STRING_TYPE ["potatoes"], |
| 332 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 333 ONE_BYTE_INTERNALIZED_STRING_TYPE [".iterator"], |
283 SYMBOL_TYPE, | 334 SYMBOL_TYPE, |
| 335 ONE_BYTE_INTERNALIZED_STRING_TYPE [".result"], |
284 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 336 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
285 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 337 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
| 338 ONE_BYTE_INTERNALIZED_STRING_TYPE [".for"], |
286 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 339 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
| 340 ONE_BYTE_INTERNALIZED_STRING_TYPE ["p"], |
287 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 341 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
288 FIXED_ARRAY_TYPE, | 342 FIXED_ARRAY_TYPE, |
289 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 343 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
290 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 344 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
291 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | |
292 FIXED_ARRAY_TYPE, | 345 FIXED_ARRAY_TYPE, |
293 ] | 346 ] |
294 handlers: [ | 347 handlers: [ |
295 [11, 129, 135], | 348 [19, 165, 171], |
296 [14, 93, 95], | 349 [22, 125, 127], |
297 [203, 213, 215], | 350 [243, 253, 255], |
298 ] | 351 ] |
299 | 352 |
300 --- | 353 --- |
301 snippet: " | 354 snippet: " |
302 for (var x of [10, 20, 30]) { | 355 for (var x of [10, 20, 30]) { |
303 if (x == 10) continue; | 356 if (x == 10) continue; |
304 if (x == 20) break; | 357 if (x == 20) break; |
305 } | 358 } |
306 " | 359 " |
307 frame size: 15 | 360 frame size: 16 |
308 parameter count: 1 | 361 parameter count: 1 |
309 bytecode array length: 290 | 362 bytecode array length: 334 |
310 bytecodes: [ | 363 bytecodes: [ |
311 /* 30 E> */ B(StackCheck), | 364 /* 30 E> */ B(StackCheck), |
| 365 B(LdaConstant), U8(0), |
| 366 B(Star), R(9), |
312 B(LdaZero), | 367 B(LdaZero), |
313 B(Star), R(4), | 368 B(Star), R(4), |
314 B(Mov), R(context), R(11), | 369 B(Mov), R(context), R(11), |
315 B(Mov), R(context), R(12), | 370 B(Mov), R(context), R(12), |
316 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(9), | 371 /* 48 S> */ B(LdaConstant), U8(1), |
317 B(Star), R(13), | 372 B(Star), R(13), |
318 B(LdaNamedProperty), R(13), U8(1), U8(3), | 373 B(CreateArrayLiteral), U8(2), U8(4), U8(9), |
319 B(Star), R(14), | 374 B(Star), R(14), |
320 B(CallProperty), R(14), R(13), U8(1), U8(5), | 375 B(LdaNamedProperty), R(14), U8(3), U8(5), |
| 376 B(Star), R(15), |
| 377 B(CallProperty), R(15), R(14), U8(1), U8(7), |
321 B(JumpIfJSReceiver), U8(7), | 378 B(JumpIfJSReceiver), U8(7), |
322 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 379 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
323 B(Star), R(2), | 380 B(Star), R(2), |
324 /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(9), | 381 /* 45 S> */ B(LdaConstant), U8(4), |
325 B(Star), R(13), | 382 B(Star), R(13), |
326 /* 45 E> */ B(CallProperty), R(13), R(2), U8(1), U8(7), | 383 B(LdaNamedProperty), R(2), U8(5), U8(13), |
| 384 B(Star), R(14), |
| 385 /* 45 E> */ B(CallProperty), R(14), R(2), U8(1), U8(11), |
327 B(Star), R(3), | 386 B(Star), R(3), |
328 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), | 387 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), |
329 B(ToBooleanLogicalNot), | 388 B(ToBooleanLogicalNot), |
330 B(JumpIfFalse), U8(7), | 389 B(JumpIfFalse), U8(7), |
331 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(3), U8(1), | 390 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(3), U8(1), |
332 B(LdaNamedProperty), R(3), U8(3), U8(11), | 391 B(LdaNamedProperty), R(3), U8(6), U8(17), |
333 B(JumpIfToBooleanTrue), U8(43), | 392 B(JumpIfToBooleanTrue), U8(63), |
334 B(LdaNamedProperty), R(3), U8(4), U8(13), | 393 B(LdaConstant), U8(7), |
| 394 B(Star), R(13), |
| 395 B(LdaConstant), U8(0), |
| 396 B(Star), R(14), |
| 397 B(LdaNamedProperty), R(3), U8(8), U8(19), |
335 B(Star), R(5), | 398 B(Star), R(5), |
| 399 B(LdaConstant), U8(0), |
| 400 B(Star), R(14), |
336 B(LdaSmi), I8(2), | 401 B(LdaSmi), I8(2), |
337 B(Star), R(4), | 402 B(Star), R(4), |
338 B(Mov), R(5), R(0), | 403 B(Mov), R(5), R(0), |
339 /* 34 E> */ B(StackCheck), | 404 /* 34 E> */ B(StackCheck), |
340 B(Mov), R(0), R(1), | 405 B(LdaConstant), U8(9), |
| 406 B(Star), R(13), |
| 407 B(Mov), R(5), R(1), |
341 /* 66 S> */ B(LdaSmi), I8(10), | 408 /* 66 S> */ B(LdaSmi), I8(10), |
342 /* 72 E> */ B(TestEqual), R(1), U8(15), | 409 /* 72 E> */ B(TestEqual), R(1), U8(29), |
343 B(JumpIfFalse), U8(4), | 410 B(JumpIfFalse), U8(4), |
344 /* 79 S> */ B(Jump), U8(14), | 411 /* 79 S> */ B(Jump), U8(18), |
345 /* 91 S> */ B(LdaSmi), I8(20), | 412 /* 91 S> */ B(LdaSmi), I8(20), |
346 /* 97 E> */ B(TestEqual), R(1), U8(16), | 413 /* 97 E> */ B(TestEqual), R(1), U8(30), |
347 B(JumpIfFalse), U8(4), | 414 B(JumpIfFalse), U8(4), |
348 /* 104 S> */ B(Jump), U8(8), | 415 /* 104 S> */ B(Jump), U8(12), |
| 416 B(LdaConstant), U8(0), |
| 417 B(Star), R(13), |
349 B(LdaZero), | 418 B(LdaZero), |
350 B(Star), R(4), | 419 B(Star), R(4), |
351 B(JumpLoop), U8(69), I8(0), | 420 B(JumpLoop), U8(93), I8(0), |
352 B(Jump), U8(36), | 421 B(Jump), U8(40), |
353 B(Star), R(13), | 422 B(Star), R(13), |
354 B(Ldar), R(closure), | 423 B(Ldar), R(closure), |
355 B(CreateCatchContext), R(13), U8(5), U8(6), | 424 B(CreateCatchContext), R(13), U8(10), U8(11), |
356 B(Star), R(12), | 425 B(Star), R(12), |
357 B(PushContext), R(8), | 426 B(PushContext), R(8), |
358 B(LdaSmi), I8(2), | 427 B(LdaSmi), I8(2), |
359 B(TestEqualStrict), R(4), U8(17), | 428 B(TestEqualStrict), R(4), U8(33), |
360 B(JumpIfFalse), U8(6), | 429 B(JumpIfFalse), U8(10), |
| 430 B(LdaConstant), U8(0), |
| 431 B(Star), R(13), |
361 B(LdaSmi), I8(1), | 432 B(LdaSmi), I8(1), |
362 B(Star), R(4), | 433 B(Star), R(4), |
363 B(LdaImmutableCurrentContextSlot), U8(4), | 434 B(LdaImmutableCurrentContextSlot), U8(4), |
364 B(Star), R(13), | 435 B(Star), R(13), |
365 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), | 436 B(CallRuntime), U16(Runtime::kReThrow), R(13), U8(1), |
366 B(PopContext), R(8), | 437 B(PopContext), R(8), |
367 B(LdaSmi), I8(-1), | 438 B(LdaSmi), I8(-1), |
368 B(Star), R(9), | 439 B(Star), R(9), |
369 B(Jump), U8(7), | 440 B(Jump), U8(7), |
370 B(Star), R(10), | 441 B(Star), R(10), |
371 B(LdaZero), | 442 B(LdaZero), |
372 B(Star), R(9), | 443 B(Star), R(9), |
373 B(LdaTheHole), | 444 B(LdaTheHole), |
374 B(SetPendingMessage), | 445 B(SetPendingMessage), |
375 B(Star), R(11), | 446 B(Star), R(11), |
376 B(LdaZero), | 447 B(LdaZero), |
377 B(TestEqualStrict), R(4), U8(18), | 448 B(TestEqualStrict), R(4), U8(36), |
378 B(JumpIfTrue), U8(111), | 449 B(JumpIfTrue), U8(119), |
379 B(LdaNamedProperty), R(2), U8(7), U8(19), | 450 B(LdaConstant), U8(0), |
| 451 B(Star), R(12), |
| 452 B(LdaNamedProperty), R(2), U8(12), U8(37), |
380 B(Star), R(6), | 453 B(Star), R(6), |
381 B(TestUndetectable), R(6), | 454 B(TestUndetectable), R(6), |
382 B(JumpIfFalse), U8(4), | 455 B(JumpIfFalse), U8(4), |
383 B(Jump), U8(99), | 456 B(Jump), U8(103), |
384 B(LdaSmi), I8(1), | 457 B(LdaSmi), I8(1), |
385 B(TestEqualStrict), R(4), U8(22), | 458 B(TestEqualStrict), R(4), U8(42), |
386 B(JumpIfFalse), U8(67), | 459 B(JumpIfFalse), U8(67), |
387 B(Ldar), R(6), | 460 B(Ldar), R(6), |
388 B(TypeOf), | 461 B(TypeOf), |
389 B(Star), R(12), | 462 B(Star), R(12), |
390 B(LdaConstant), U8(8), | 463 B(LdaConstant), U8(13), |
391 B(TestEqualStrict), R(12), U8(23), | 464 B(TestEqualStrict), R(12), U8(43), |
392 B(JumpIfFalse), U8(4), | 465 B(JumpIfFalse), U8(4), |
393 B(Jump), U8(18), | 466 B(Jump), U8(18), |
394 B(Wide), B(LdaSmi), I16(130), | 467 B(Wide), B(LdaSmi), I16(130), |
395 B(Star), R(12), | 468 B(Star), R(12), |
396 B(LdaConstant), U8(9), | 469 B(LdaConstant), U8(0), |
397 B(Star), R(13), | 470 B(Star), R(13), |
398 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), | 471 B(CallRuntime), U16(Runtime::kNewTypeError), R(12), U8(2), |
399 B(Throw), | 472 B(Throw), |
400 B(Mov), R(context), R(12), | 473 B(Mov), R(context), R(12), |
401 B(Mov), R(6), R(13), | 474 B(Mov), R(6), R(13), |
402 B(Mov), R(2), R(14), | 475 B(Mov), R(2), R(14), |
403 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), | 476 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), |
404 B(Jump), U8(20), | 477 B(Jump), U8(20), |
405 B(Star), R(13), | 478 B(Star), R(13), |
406 B(Ldar), R(closure), | 479 B(Ldar), R(closure), |
407 B(CreateCatchContext), R(13), U8(5), U8(10), | 480 B(CreateCatchContext), R(13), U8(10), U8(14), |
408 B(Star), R(12), | 481 B(Star), R(12), |
409 B(LdaTheHole), | 482 B(LdaTheHole), |
410 B(SetPendingMessage), | 483 B(SetPendingMessage), |
411 B(Ldar), R(12), | 484 B(Ldar), R(12), |
412 B(PushContext), R(8), | 485 B(PushContext), R(8), |
413 B(PopContext), R(8), | 486 B(PopContext), R(8), |
414 B(Jump), U8(27), | 487 B(Jump), U8(31), |
415 B(Mov), R(6), R(12), | 488 B(LdaConstant), U8(0), |
416 B(Mov), R(2), R(13), | 489 B(Star), R(12), |
417 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), | 490 B(Mov), R(6), R(13), |
| 491 B(Mov), R(2), R(14), |
| 492 B(InvokeIntrinsic), U8(Runtime::k_Call), R(13), U8(2), |
418 B(Star), R(7), | 493 B(Star), R(7), |
419 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(7), U8(1), | 494 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(7), U8(1), |
420 B(JumpIfToBooleanFalse), U8(4), | 495 B(JumpIfToBooleanFalse), U8(4), |
421 B(Jump), U8(7), | 496 B(Jump), U8(7), |
422 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(7), U8(1), | 497 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(7), U8(1), |
423 B(Ldar), R(11), | 498 B(Ldar), R(11), |
424 B(SetPendingMessage), | 499 B(SetPendingMessage), |
425 B(LdaZero), | 500 B(LdaZero), |
426 B(TestEqualStrict), R(9), U8(0), | 501 B(TestEqualStrict), R(9), U8(0), |
427 B(JumpIfTrue), U8(4), | 502 B(JumpIfTrue), U8(4), |
428 B(Jump), U8(5), | 503 B(Jump), U8(5), |
429 B(Ldar), R(10), | 504 B(Ldar), R(10), |
430 B(ReThrow), | 505 B(ReThrow), |
431 B(LdaUndefined), | 506 B(LdaUndefined), |
432 /* 113 S> */ B(Return), | 507 /* 113 S> */ B(Return), |
433 ] | 508 ] |
434 constant pool: [ | 509 constant pool: [ |
| 510 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 511 ONE_BYTE_INTERNALIZED_STRING_TYPE [".iterator"], |
435 CONSTANT_ELEMENTS_PAIR_TYPE, | 512 CONSTANT_ELEMENTS_PAIR_TYPE, |
436 SYMBOL_TYPE, | 513 SYMBOL_TYPE, |
| 514 ONE_BYTE_INTERNALIZED_STRING_TYPE [".result"], |
437 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 515 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
438 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 516 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
| 517 ONE_BYTE_INTERNALIZED_STRING_TYPE [".for"], |
439 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 518 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
| 519 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
440 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 520 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
441 FIXED_ARRAY_TYPE, | 521 FIXED_ARRAY_TYPE, |
442 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 522 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
443 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 523 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
444 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | |
445 FIXED_ARRAY_TYPE, | 524 FIXED_ARRAY_TYPE, |
446 ] | 525 ] |
447 handlers: [ | 526 handlers: [ |
448 [7, 144, 150], | 527 [11, 180, 186], |
449 [10, 108, 110], | 528 [14, 140, 142], |
450 [217, 227, 229], | 529 [257, 267, 269], |
451 ] | 530 ] |
452 | 531 |
453 --- | 532 --- |
454 snippet: " | 533 snippet: " |
455 var x = { 'a': 1, 'b': 2 }; | 534 var x = { 'a': 1, 'b': 2 }; |
456 for (x['a'] of [1,2,3]) { return x['a']; } | 535 for (x['a'] of [1,2,3]) { return x['a']; } |
457 " | 536 " |
458 frame size: 14 | 537 frame size: 15 |
459 parameter count: 1 | 538 parameter count: 1 |
460 bytecode array length: 297 | 539 bytecode array length: 337 |
461 bytecodes: [ | 540 bytecodes: [ |
462 /* 30 E> */ B(StackCheck), | 541 /* 30 E> */ B(StackCheck), |
463 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(2), U8(1), R(8), | 542 /* 42 S> */ B(LdaConstant), U8(0), |
464 B(Mov), R(8), R(0), | 543 B(CreateObjectLiteral), U8(1), U8(2), U8(1), R(9), |
| 544 B(Star), R(8), |
| 545 B(Mov), R(9), R(0), |
| 546 B(LdaConstant), U8(2), |
| 547 B(Star), R(8), |
465 B(LdaZero), | 548 B(LdaZero), |
466 B(Star), R(3), | 549 B(Star), R(3), |
467 B(Mov), R(context), R(10), | 550 B(Mov), R(context), R(10), |
468 B(Mov), R(context), R(11), | 551 B(Mov), R(context), R(11), |
469 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(3), U8(9), | 552 /* 77 S> */ B(LdaConstant), U8(3), |
470 B(Star), R(12), | 553 B(Star), R(12), |
471 B(LdaNamedProperty), R(12), U8(2), U8(4), | 554 B(CreateArrayLiteral), U8(4), U8(7), U8(9), |
472 B(Star), R(13), | 555 B(Star), R(13), |
473 B(CallProperty), R(13), R(12), U8(1), U8(6), | 556 B(LdaNamedProperty), R(13), U8(5), U8(8), |
| 557 B(Star), R(14), |
| 558 B(CallProperty), R(14), R(13), U8(1), U8(10), |
474 B(JumpIfJSReceiver), U8(7), | 559 B(JumpIfJSReceiver), U8(7), |
475 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), | 560 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0),
U8(0), |
476 B(Star), R(1), | 561 B(Star), R(1), |
477 /* 74 S> */ B(LdaNamedProperty), R(1), U8(3), U8(10), | 562 /* 74 S> */ B(LdaConstant), U8(6), |
478 B(Star), R(12), | 563 B(Star), R(12), |
479 /* 74 E> */ B(CallProperty), R(12), R(1), U8(1), U8(8), | 564 B(LdaNamedProperty), R(1), U8(7), U8(16), |
| 565 B(Star), R(13), |
| 566 /* 74 E> */ B(CallProperty), R(13), R(1), U8(1), U8(14), |
480 B(Star), R(2), | 567 B(Star), R(2), |
481 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), | 568 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), |
482 B(ToBooleanLogicalNot), | 569 B(ToBooleanLogicalNot), |
483 B(JumpIfFalse), U8(7), | 570 B(JumpIfFalse), U8(7), |
484 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(2), U8(1), | 571 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(2), U8(1), |
485 B(LdaNamedProperty), R(2), U8(4), U8(12), | 572 B(LdaNamedProperty), R(2), U8(8), U8(20), |
486 B(JumpIfToBooleanTrue), U8(31), | 573 B(JumpIfToBooleanTrue), U8(43), |
487 /* 67 E> */ B(LdaNamedProperty), R(2), U8(5), U8(14), | 574 B(LdaConstant), U8(9), |
| 575 B(Star), R(12), |
| 576 B(LdaConstant), U8(2), |
| 577 B(Star), R(14), |
| 578 /* 67 E> */ B(LdaNamedProperty), R(2), U8(10), U8(22), |
488 B(Star), R(4), | 579 B(Star), R(4), |
| 580 B(LdaConstant), U8(2), |
| 581 B(Star), R(14), |
489 B(LdaSmi), I8(2), | 582 B(LdaSmi), I8(2), |
490 B(Star), R(3), | 583 B(Star), R(3), |
491 B(Ldar), R(4), | 584 B(Ldar), R(4), |
492 B(StaNamedPropertySloppy), R(0), U8(6), U8(16), | 585 B(StaNamedPropertySloppy), R(0), U8(9), U8(28), |
493 /* 62 E> */ B(StackCheck), | 586 /* 62 E> */ B(StackCheck), |
494 /* 88 S> */ B(Nop), | 587 /* 88 S> */ B(Nop), |
495 /* 96 E> */ B(LdaNamedProperty), R(0), U8(6), U8(18), | 588 /* 96 E> */ B(LdaNamedProperty), R(0), U8(9), U8(32), |
496 B(Star), R(9), | 589 B(Star), R(9), |
497 B(LdaZero), | 590 B(LdaZero), |
498 B(Star), R(8), | 591 B(Star), R(8), |
499 B(Jump), U8(50), | 592 B(Jump), U8(54), |
500 B(Jump), U8(36), | 593 B(Jump), U8(40), |
501 B(Star), R(12), | 594 B(Star), R(12), |
502 B(Ldar), R(closure), | 595 B(Ldar), R(closure), |
503 B(CreateCatchContext), R(12), U8(7), U8(8), | 596 B(CreateCatchContext), R(12), U8(11), U8(12), |
504 B(Star), R(11), | 597 B(Star), R(11), |
505 B(PushContext), R(7), | 598 B(PushContext), R(7), |
506 B(LdaSmi), I8(2), | 599 B(LdaSmi), I8(2), |
507 B(TestEqualStrict), R(3), U8(20), | 600 B(TestEqualStrict), R(3), U8(36), |
508 B(JumpIfFalse), U8(6), | 601 B(JumpIfFalse), U8(10), |
| 602 B(LdaConstant), U8(2), |
| 603 B(Star), R(12), |
509 B(LdaSmi), I8(1), | 604 B(LdaSmi), I8(1), |
510 B(Star), R(3), | 605 B(Star), R(3), |
511 B(LdaImmutableCurrentContextSlot), U8(4), | 606 B(LdaImmutableCurrentContextSlot), U8(4), |
512 B(Star), R(12), | 607 B(Star), R(12), |
513 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), | 608 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), |
514 B(PopContext), R(7), | 609 B(PopContext), R(7), |
515 B(LdaSmi), I8(-1), | 610 B(LdaSmi), I8(-1), |
516 B(Star), R(8), | 611 B(Star), R(8), |
517 B(Jump), U8(8), | 612 B(Jump), U8(8), |
518 B(Star), R(9), | 613 B(Star), R(9), |
519 B(LdaSmi), I8(1), | 614 B(LdaSmi), I8(1), |
520 B(Star), R(8), | 615 B(Star), R(8), |
521 B(LdaTheHole), | 616 B(LdaTheHole), |
522 B(SetPendingMessage), | 617 B(SetPendingMessage), |
523 B(Star), R(10), | 618 B(Star), R(10), |
524 B(LdaZero), | 619 B(LdaZero), |
525 B(TestEqualStrict), R(3), U8(21), | 620 B(TestEqualStrict), R(3), U8(39), |
526 B(JumpIfTrue), U8(111), | 621 B(JumpIfTrue), U8(119), |
527 B(LdaNamedProperty), R(1), U8(9), U8(22), | 622 B(LdaConstant), U8(2), |
| 623 B(Star), R(11), |
| 624 B(LdaNamedProperty), R(1), U8(13), U8(40), |
528 B(Star), R(5), | 625 B(Star), R(5), |
529 B(TestUndetectable), R(5), | 626 B(TestUndetectable), R(5), |
530 B(JumpIfFalse), U8(4), | 627 B(JumpIfFalse), U8(4), |
531 B(Jump), U8(99), | 628 B(Jump), U8(103), |
532 B(LdaSmi), I8(1), | 629 B(LdaSmi), I8(1), |
533 B(TestEqualStrict), R(3), U8(25), | 630 B(TestEqualStrict), R(3), U8(45), |
534 B(JumpIfFalse), U8(67), | 631 B(JumpIfFalse), U8(67), |
535 B(Ldar), R(5), | 632 B(Ldar), R(5), |
536 B(TypeOf), | 633 B(TypeOf), |
537 B(Star), R(11), | 634 B(Star), R(11), |
538 B(LdaConstant), U8(10), | 635 B(LdaConstant), U8(14), |
539 B(TestEqualStrict), R(11), U8(26), | 636 B(TestEqualStrict), R(11), U8(46), |
540 B(JumpIfFalse), U8(4), | 637 B(JumpIfFalse), U8(4), |
541 B(Jump), U8(18), | 638 B(Jump), U8(18), |
542 B(Wide), B(LdaSmi), I16(130), | 639 B(Wide), B(LdaSmi), I16(130), |
543 B(Star), R(11), | 640 B(Star), R(11), |
544 B(LdaConstant), U8(11), | 641 B(LdaConstant), U8(2), |
545 B(Star), R(12), | 642 B(Star), R(12), |
546 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), | 643 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), |
547 B(Throw), | 644 B(Throw), |
548 B(Mov), R(context), R(11), | 645 B(Mov), R(context), R(11), |
549 B(Mov), R(5), R(12), | 646 B(Mov), R(5), R(12), |
550 B(Mov), R(1), R(13), | 647 B(Mov), R(1), R(13), |
551 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), | 648 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
552 B(Jump), U8(20), | 649 B(Jump), U8(20), |
553 B(Star), R(12), | 650 B(Star), R(12), |
554 B(Ldar), R(closure), | 651 B(Ldar), R(closure), |
555 B(CreateCatchContext), R(12), U8(7), U8(12), | 652 B(CreateCatchContext), R(12), U8(11), U8(15), |
556 B(Star), R(11), | 653 B(Star), R(11), |
557 B(LdaTheHole), | 654 B(LdaTheHole), |
558 B(SetPendingMessage), | 655 B(SetPendingMessage), |
559 B(Ldar), R(11), | 656 B(Ldar), R(11), |
560 B(PushContext), R(7), | 657 B(PushContext), R(7), |
561 B(PopContext), R(7), | 658 B(PopContext), R(7), |
562 B(Jump), U8(27), | 659 B(Jump), U8(31), |
563 B(Mov), R(5), R(11), | 660 B(LdaConstant), U8(2), |
564 B(Mov), R(1), R(12), | 661 B(Star), R(11), |
565 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), | 662 B(Mov), R(5), R(12), |
| 663 B(Mov), R(1), R(13), |
| 664 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), |
566 B(Star), R(6), | 665 B(Star), R(6), |
567 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1), | 666 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(6), U8(1), |
568 B(JumpIfToBooleanFalse), U8(4), | 667 B(JumpIfToBooleanFalse), U8(4), |
569 B(Jump), U8(7), | 668 B(Jump), U8(7), |
570 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(6), U8(1), | 669 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R
(6), U8(1), |
571 B(Ldar), R(10), | 670 B(Ldar), R(10), |
572 B(SetPendingMessage), | 671 B(SetPendingMessage), |
573 B(LdaZero), | 672 B(LdaZero), |
574 B(TestEqualStrict), R(8), U8(0), | 673 B(TestEqualStrict), R(8), U8(0), |
575 B(JumpIfTrue), U8(11), | 674 B(JumpIfTrue), U8(11), |
576 B(LdaSmi), I8(1), | 675 B(LdaSmi), I8(1), |
577 B(TestEqualStrict), R(8), U8(0), | 676 B(TestEqualStrict), R(8), U8(0), |
578 B(JumpIfTrue), U8(7), | 677 B(JumpIfTrue), U8(7), |
579 B(Jump), U8(8), | 678 B(Jump), U8(8), |
580 B(Ldar), R(9), | 679 B(Ldar), R(9), |
581 /* 105 S> */ B(Return), | 680 /* 105 S> */ B(Return), |
582 B(Ldar), R(9), | 681 B(Ldar), R(9), |
583 B(ReThrow), | 682 B(ReThrow), |
584 B(LdaUndefined), | 683 B(LdaUndefined), |
585 /* 105 S> */ B(Return), | 684 /* 105 S> */ B(Return), |
586 ] | 685 ] |
587 constant pool: [ | 686 constant pool: [ |
| 687 ONE_BYTE_INTERNALIZED_STRING_TYPE ["x"], |
588 FIXED_ARRAY_TYPE, | 688 FIXED_ARRAY_TYPE, |
| 689 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], |
| 690 ONE_BYTE_INTERNALIZED_STRING_TYPE [".iterator"], |
589 CONSTANT_ELEMENTS_PAIR_TYPE, | 691 CONSTANT_ELEMENTS_PAIR_TYPE, |
590 SYMBOL_TYPE, | 692 SYMBOL_TYPE, |
| 693 ONE_BYTE_INTERNALIZED_STRING_TYPE [".result"], |
591 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], | 694 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], |
592 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], | 695 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], |
| 696 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], |
593 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], | 697 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], |
594 ONE_BYTE_INTERNALIZED_STRING_TYPE ["a"], | |
595 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], | 698 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], |
596 FIXED_ARRAY_TYPE, | 699 FIXED_ARRAY_TYPE, |
597 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], | 700 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], |
598 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], | 701 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], |
599 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], | |
600 FIXED_ARRAY_TYPE, | 702 FIXED_ARRAY_TYPE, |
601 ] | 703 ] |
602 handlers: [ | 704 handlers: [ |
603 [15, 140, 146], | 705 [23, 172, 178], |
604 [18, 104, 106], | 706 [26, 132, 134], |
605 [214, 224, 226], | 707 [250, 260, 262], |
606 ] | 708 ] |
607 | 709 |
OLD | NEW |