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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/ForOf.golden

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

Powered by Google App Engine
This is Rietveld 408576698