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

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

Issue 2664083002: [ignition] desugar async functions/generators/modules in BytecodeGenerator
Patch Set: get rid of lambdas, for better or worse.. Created 3 years, 10 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 wrap: no 6 wrap: no
7 test function name: f 7 test function name: f
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
11 function* f() { } 11 function* f() { }
12 f(); 12 f();
13 " 13 "
14 frame size: 12 14 frame size: 12
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 204 16 bytecode array length: 195
17 bytecodes: [ 17 bytecodes: [
18 B(Ldar), R(new_target), 18 B(Ldar), R(new_target),
19 B(JumpIfUndefined), U8(28), 19 B(JumpIfUndefined), U8(28),
20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 20 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
21 B(PushContext), R(2), 21 B(PushContext), R(2),
22 B(ResumeGenerator), R(new_target), 22 B(ResumeGenerator), R(new_target),
23 B(Star), R(1), 23 B(Star), R(1),
24 B(LdaZero), 24 B(LdaZero),
25 B(TestEqualStrict), R(1), U8(0), 25 B(TestEqualStrict), R(1), U8(0),
26 B(JumpIfTrue), U8(53), 26 B(JumpIfTrue), U8(44),
27 B(LdaSmi), I8(78), 27 B(LdaSmi), I8(78),
28 B(Star), R(3), 28 B(Star), R(3),
29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 29 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
30 B(LdaSmi), I8(-2), 30 B(LdaSmi), I8(-2),
31 B(Star), R(1), 31 B(Star), R(1),
32 B(CreateFunctionContext), U8(2), 32 B(CreateFunctionContext), U8(1),
33 B(PushContext), R(0), 33 B(PushContext), R(0),
34 B(Ldar), R(this),
35 B(StaCurrentContextSlot), U8(4),
36 /* 11 E> */ B(StackCheck), 34 /* 11 E> */ B(StackCheck),
37 B(Mov), R(context), R(5), 35 B(Mov), R(context), R(5),
38 B(LdaCurrentContextSlot), U8(4),
39 B(Star), R(7),
40 B(Mov), R(closure), R(6), 36 B(Mov), R(closure), R(6),
37 B(Mov), R(this), R(7),
41 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8 (2), 38 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8 (2),
42 B(StaCurrentContextSlot), U8(5), 39 B(StaCurrentContextSlot), U8(4),
43 B(Star), R(6), 40 B(Star), R(6),
44 B(LdaCurrentContextSlot), U8(5),
45 B(Star), R(7),
46 B(LdaZero), 41 B(LdaZero),
47 B(SuspendGenerator), R(7), 42 B(SuspendGenerator), R(6),
48 B(Ldar), R(6), 43 B(Ldar), R(6),
49 /* 16 S> */ B(Return), 44 /* 16 S> */ B(Return),
50 B(LdaSmi), I8(-2), 45 B(LdaSmi), I8(-2),
51 B(Star), R(1), 46 B(Star), R(1),
52 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7 ), U8(1), 47 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6 ), U8(1),
53 B(Star), R(8), 48 B(Star), R(8),
54 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8 (1), 49 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1),
55 B(Star), R(9), 50 B(Star), R(9),
56 B(LdaZero), 51 B(LdaZero),
57 B(TestEqualStrict), R(9), U8(0), 52 B(TestEqualStrict), R(9), U8(0),
58 B(JumpIfTrue), U8(31), 53 B(JumpIfTrue), U8(31),
59 B(LdaSmi), I8(2), 54 B(LdaSmi), I8(2),
60 B(TestEqualStrict), R(9), U8(0), 55 B(TestEqualStrict), R(9), U8(0),
61 B(JumpIfTrue), U8(21), 56 B(JumpIfTrue), U8(21),
62 B(Jump), U8(2), 57 B(Jump), U8(2),
63 B(LdaTrue), 58 B(LdaTrue),
64 B(Star), R(11), 59 B(Star), R(11),
(...skipping 16 matching lines...) Expand all
81 B(Jump), U8(14), 76 B(Jump), U8(14),
82 B(LdaSmi), I8(-1), 77 B(LdaSmi), I8(-1),
83 B(Star), R(3), 78 B(Star), R(3),
84 B(Jump), U8(8), 79 B(Jump), U8(8),
85 B(Star), R(4), 80 B(Star), R(4),
86 B(LdaSmi), I8(2), 81 B(LdaSmi), I8(2),
87 B(Star), R(3), 82 B(Star), R(3),
88 B(LdaTheHole), 83 B(LdaTheHole),
89 B(SetPendingMessage), 84 B(SetPendingMessage),
90 B(Star), R(5), 85 B(Star), R(5),
91 B(LdaCurrentContextSlot), U8(5), 86 B(LdaCurrentContextSlot), U8(4),
92 B(Star), R(6), 87 B(Star), R(6),
93 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1), 88 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1),
94 B(Ldar), R(5), 89 B(Ldar), R(5),
95 B(SetPendingMessage), 90 B(SetPendingMessage),
96 B(LdaZero), 91 B(LdaZero),
97 B(TestEqualStrict), R(3), U8(0), 92 B(TestEqualStrict), R(3), U8(0),
98 B(JumpIfTrue), U8(18), 93 B(JumpIfTrue), U8(18),
99 B(LdaSmi), I8(1), 94 B(LdaSmi), I8(1),
100 B(TestEqualStrict), R(3), U8(0), 95 B(TestEqualStrict), R(3), U8(0),
101 B(JumpIfTrue), U8(14), 96 B(JumpIfTrue), U8(14),
102 B(LdaSmi), I8(2), 97 B(LdaSmi), I8(2),
103 B(TestEqualStrict), R(3), U8(0), 98 B(TestEqualStrict), R(3), U8(0),
104 B(JumpIfTrue), U8(10), 99 B(JumpIfTrue), U8(10),
105 B(Jump), U8(11), 100 B(Jump), U8(11),
106 B(Ldar), R(4), 101 B(Ldar), R(4),
107 /* 16 S> */ B(Return), 102 /* 16 S> */ B(Return),
108 B(Ldar), R(4), 103 B(Ldar), R(4),
109 /* 16 S> */ B(Return), 104 /* 16 S> */ B(Return),
110 B(Ldar), R(4), 105 B(Ldar), R(4),
111 B(ReThrow), 106 B(ReThrow),
112 B(LdaUndefined), 107 B(LdaUndefined),
113 /* 16 S> */ B(Return), 108 /* 16 S> */ B(Return),
114 ] 109 ]
115 constant pool: [ 110 constant pool: [
116 ] 111 ]
117 handlers: [ 112 handlers: [
118 [46, 143, 149], 113 [42, 134, 140],
119 ] 114 ]
120 115
121 --- 116 ---
122 snippet: " 117 snippet: "
123 function* f() { yield 42 } 118 function* f() { yield 42 }
124 f(); 119 f();
125 " 120 "
126 frame size: 12 121 frame size: 12
127 parameter count: 1 122 parameter count: 1
128 bytecode array length: 299 123 bytecode array length: 290
129 bytecodes: [ 124 bytecodes: [
130 B(Ldar), R(new_target), 125 B(Ldar), R(new_target),
131 B(JumpIfUndefined), U8(35), 126 B(JumpIfUndefined), U8(35),
132 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 127 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
133 B(PushContext), R(2), 128 B(PushContext), R(2),
134 B(ResumeGenerator), R(new_target), 129 B(ResumeGenerator), R(new_target),
135 B(Star), R(1), 130 B(Star), R(1),
136 B(LdaZero), 131 B(LdaZero),
137 B(TestEqualStrict), R(1), U8(0), 132 B(TestEqualStrict), R(1), U8(0),
138 B(JumpIfTrue), U8(60), 133 B(JumpIfTrue), U8(51),
139 B(LdaSmi), I8(1), 134 B(LdaSmi), I8(1),
140 B(TestEqualStrict), R(1), U8(0), 135 B(TestEqualStrict), R(1), U8(0),
141 B(JumpIfTrue), U8(130), 136 B(JumpIfTrue), U8(121),
142 B(LdaSmi), I8(78), 137 B(LdaSmi), I8(78),
143 B(Star), R(3), 138 B(Star), R(3),
144 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1), 139 B(CallRuntime), U16(Runtime::kAbort), R(3), U8(1),
145 B(LdaSmi), I8(-2), 140 B(LdaSmi), I8(-2),
146 B(Star), R(1), 141 B(Star), R(1),
147 B(CreateFunctionContext), U8(2), 142 B(CreateFunctionContext), U8(1),
148 B(PushContext), R(0), 143 B(PushContext), R(0),
149 B(Ldar), R(this),
150 B(StaCurrentContextSlot), U8(4),
151 /* 11 E> */ B(StackCheck), 144 /* 11 E> */ B(StackCheck),
152 B(Mov), R(context), R(5), 145 B(Mov), R(context), R(5),
153 B(LdaCurrentContextSlot), U8(4),
154 B(Star), R(7),
155 B(Mov), R(closure), R(6), 146 B(Mov), R(closure), R(6),
147 B(Mov), R(this), R(7),
156 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8 (2), 148 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(6), U8 (2),
157 B(StaCurrentContextSlot), U8(5), 149 B(StaCurrentContextSlot), U8(4),
158 B(Star), R(6), 150 B(Star), R(6),
159 B(LdaCurrentContextSlot), U8(5),
160 B(Star), R(7),
161 B(LdaZero), 151 B(LdaZero),
162 B(SuspendGenerator), R(7), 152 B(SuspendGenerator), R(6),
163 B(Ldar), R(6), 153 B(Ldar), R(6),
164 /* 25 S> */ B(Return), 154 /* 25 S> */ B(Return),
165 B(LdaSmi), I8(-2), 155 B(LdaSmi), I8(-2),
166 B(Star), R(1), 156 B(Star), R(1),
167 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7 ), U8(1), 157 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6 ), U8(1),
168 B(Star), R(8), 158 B(Star), R(8),
169 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8 (1), 159 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1),
170 B(Star), R(9), 160 B(Star), R(9),
171 B(LdaZero), 161 B(LdaZero),
172 B(TestEqualStrict), R(9), U8(0), 162 B(TestEqualStrict), R(9), U8(0),
173 B(JumpIfTrue), U8(31), 163 B(JumpIfTrue), U8(31),
174 B(LdaSmi), I8(2), 164 B(LdaSmi), I8(2),
175 B(TestEqualStrict), R(9), U8(0), 165 B(TestEqualStrict), R(9), U8(0),
176 B(JumpIfTrue), U8(21), 166 B(JumpIfTrue), U8(21),
177 B(Jump), U8(2), 167 B(Jump), U8(2),
178 B(LdaTrue), 168 B(LdaTrue),
179 B(Star), R(11), 169 B(Star), R(11),
180 B(Mov), R(8), R(10), 170 B(Mov), R(8), R(10),
181 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(10) , U8(2), 171 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(10) , U8(2),
182 B(Star), R(4), 172 B(Star), R(4),
183 B(LdaZero), 173 B(LdaZero),
184 B(Star), R(3), 174 B(Star), R(3),
185 B(Jump), U8(113), 175 B(Jump), U8(113),
186 B(Ldar), R(8), 176 B(Ldar), R(8),
187 /* 11 E> */ B(Throw), 177 /* 11 E> */ B(Throw),
188 /* 16 S> */ B(LdaSmi), I8(42), 178 /* 16 S> */ B(LdaCurrentContextSlot), U8(4),
189 B(Star), R(6), 179 B(Star), R(6),
180 B(LdaSmi), I8(42),
181 B(Star), R(7),
190 B(LdaFalse), 182 B(LdaFalse),
191 B(Star), R(7), 183 B(Star), R(8),
192 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(6), U8(2), 184 /* 16 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(7), U8(2),
193 B(Star), R(6),
194 B(LdaCurrentContextSlot), U8(5),
195 B(Star), R(7), 185 B(Star), R(7),
196 B(LdaSmi), I8(1), 186 B(LdaSmi), I8(1),
197 B(SuspendGenerator), R(7), 187 B(SuspendGenerator), R(6),
198 B(Ldar), R(6), 188 B(Ldar), R(7),
199 /* 25 S> */ B(Return), 189 /* 25 S> */ B(Return),
200 B(LdaSmi), I8(-2), 190 B(LdaSmi), I8(-2),
201 B(Star), R(1), 191 B(Star), R(1),
202 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(7 ), U8(1), 192 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6 ), U8(1),
203 B(Star), R(8), 193 B(Star), R(8),
204 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(7), U8 (1), 194 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1),
205 B(Star), R(9), 195 B(Star), R(9),
206 B(LdaZero), 196 B(LdaZero),
207 B(TestEqualStrict), R(9), U8(0), 197 B(TestEqualStrict), R(9), U8(0),
208 B(JumpIfTrue), U8(32), 198 B(JumpIfTrue), U8(32),
209 B(LdaSmi), I8(2), 199 B(LdaSmi), I8(2),
210 B(TestEqualStrict), R(9), U8(0), 200 B(TestEqualStrict), R(9), U8(0),
211 B(JumpIfTrue), U8(22), 201 B(JumpIfTrue), U8(22),
212 B(Jump), U8(2), 202 B(Jump), U8(2),
213 B(LdaTrue), 203 B(LdaTrue),
214 B(Star), R(11), 204 B(Star), R(11),
(...skipping 16 matching lines...) Expand all
231 B(Jump), U8(14), 221 B(Jump), U8(14),
232 B(LdaSmi), I8(-1), 222 B(LdaSmi), I8(-1),
233 B(Star), R(3), 223 B(Star), R(3),
234 B(Jump), U8(8), 224 B(Jump), U8(8),
235 B(Star), R(4), 225 B(Star), R(4),
236 B(LdaSmi), I8(3), 226 B(LdaSmi), I8(3),
237 B(Star), R(3), 227 B(Star), R(3),
238 B(LdaTheHole), 228 B(LdaTheHole),
239 B(SetPendingMessage), 229 B(SetPendingMessage),
240 B(Star), R(5), 230 B(Star), R(5),
241 B(LdaCurrentContextSlot), U8(5), 231 B(LdaCurrentContextSlot), U8(4),
242 B(Star), R(6), 232 B(Star), R(6),
243 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1), 233 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(6), U8(1),
244 B(Ldar), R(5), 234 B(Ldar), R(5),
245 B(SetPendingMessage), 235 B(SetPendingMessage),
246 B(LdaZero), 236 B(LdaZero),
247 B(TestEqualStrict), R(3), U8(0), 237 B(TestEqualStrict), R(3), U8(0),
248 B(JumpIfTrue), U8(25), 238 B(JumpIfTrue), U8(25),
249 B(LdaSmi), I8(1), 239 B(LdaSmi), I8(1),
250 B(TestEqualStrict), R(3), U8(0), 240 B(TestEqualStrict), R(3), U8(0),
251 B(JumpIfTrue), U8(21), 241 B(JumpIfTrue), U8(21),
(...skipping 11 matching lines...) Expand all
263 B(Ldar), R(4), 253 B(Ldar), R(4),
264 /* 25 S> */ B(Return), 254 /* 25 S> */ B(Return),
265 B(Ldar), R(4), 255 B(Ldar), R(4),
266 B(ReThrow), 256 B(ReThrow),
267 B(LdaUndefined), 257 B(LdaUndefined),
268 /* 25 S> */ B(Return), 258 /* 25 S> */ B(Return),
269 ] 259 ]
270 constant pool: [ 260 constant pool: [
271 ] 261 ]
272 handlers: [ 262 handlers: [
273 [53, 228, 234], 263 [49, 219, 225],
274 ] 264 ]
275 265
276 --- 266 ---
277 snippet: " 267 snippet: "
278 function* f() { for (let x of [42]) yield x } 268 function* f() { for (let x of [42]) yield x }
279 f(); 269 f();
280 " 270 "
281 frame size: 18 271 frame size: 18
282 parameter count: 1 272 parameter count: 1
283 bytecode array length: 775 273 bytecode array length: 762
284 bytecodes: [ 274 bytecodes: [
285 B(Ldar), R(new_target), 275 B(Ldar), R(new_target),
286 B(JumpIfUndefined), U8(35), 276 B(JumpIfUndefined), U8(35),
287 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1), 277 B(CallRuntime), U16(Runtime::k_GeneratorGetContext), R(new_targe t), U8(1),
288 B(PushContext), R(4), 278 B(PushContext), R(4),
289 B(ResumeGenerator), R(new_target), 279 B(ResumeGenerator), R(new_target),
290 B(Star), R(3), 280 B(Star), R(3),
291 B(LdaZero), 281 B(LdaZero),
292 B(TestEqualStrict), R(3), U8(0), 282 B(TestEqualStrict), R(3), U8(0),
293 B(JumpIfTrue), U8(60), 283 B(JumpIfTrue), U8(51),
294 B(LdaSmi), I8(1), 284 B(LdaSmi), I8(1),
295 B(TestEqualStrict), R(3), U8(0), 285 B(TestEqualStrict), R(3), U8(0),
296 B(JumpIfTrue), U8(154), 286 B(JumpIfTrue), U8(145),
297 B(LdaSmi), I8(78), 287 B(LdaSmi), I8(78),
298 B(Star), R(5), 288 B(Star), R(5),
299 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 289 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
300 B(LdaSmi), I8(-2), 290 B(LdaSmi), I8(-2),
301 B(Star), R(3), 291 B(Star), R(3),
302 B(CreateFunctionContext), U8(9), 292 B(CreateFunctionContext), U8(8),
303 B(PushContext), R(0), 293 B(PushContext), R(0),
304 B(Ldar), R(this),
305 B(StaCurrentContextSlot), U8(4),
306 /* 11 E> */ B(StackCheck), 294 /* 11 E> */ B(StackCheck),
307 B(Mov), R(context), R(7), 295 B(Mov), R(context), R(7),
308 B(LdaCurrentContextSlot), U8(4),
309 B(Star), R(9),
310 B(Mov), R(closure), R(8), 296 B(Mov), R(closure), R(8),
297 B(Mov), R(this), R(9),
311 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8 (2), 298 /* 11 E> */ B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(8), U8 (2),
312 B(StaCurrentContextSlot), U8(5), 299 B(StaCurrentContextSlot), U8(4),
313 B(Star), R(8), 300 B(Star), R(8),
314 B(LdaCurrentContextSlot), U8(5),
315 B(Star), R(9),
316 B(LdaZero), 301 B(LdaZero),
317 B(SuspendGenerator), R(9), 302 B(SuspendGenerator), R(8),
318 B(Ldar), R(8), 303 B(Ldar), R(8),
319 /* 44 S> */ B(Return), 304 /* 44 S> */ B(Return),
320 B(LdaSmi), I8(-2), 305 B(LdaSmi), I8(-2),
321 B(Star), R(3), 306 B(Star), R(3),
322 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9 ), U8(1), 307 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(8 ), U8(1),
323 B(Star), R(10), 308 B(Star), R(10),
324 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8 (1), 309 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(8), U8 (1),
325 B(Star), R(11), 310 B(Star), R(11),
326 B(LdaZero), 311 B(LdaZero),
327 B(TestEqualStrict), R(11), U8(0), 312 B(TestEqualStrict), R(11), U8(0),
328 B(JumpIfTrue), U8(31), 313 B(JumpIfTrue), U8(31),
329 B(LdaSmi), I8(2), 314 B(LdaSmi), I8(2),
330 B(TestEqualStrict), R(11), U8(0), 315 B(TestEqualStrict), R(11), U8(0),
331 B(JumpIfTrue), U8(21), 316 B(JumpIfTrue), U8(21),
332 B(Jump), U8(2), 317 B(Jump), U8(2),
333 B(LdaTrue), 318 B(LdaTrue),
334 B(Star), R(13), 319 B(Star), R(13),
335 B(Mov), R(10), R(12), 320 B(Mov), R(10), R(12),
336 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12) , U8(2), 321 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12) , U8(2),
337 B(Star), R(6), 322 B(Star), R(6),
338 B(LdaZero), 323 B(LdaZero),
339 B(Star), R(5), 324 B(Star), R(5),
340 B(JumpConstant), U8(13), 325 B(JumpConstant), U8(13),
341 B(Ldar), R(10), 326 B(Ldar), R(10),
342 /* 11 E> */ B(Throw), 327 /* 11 E> */ B(Throw),
343 B(Ldar), R(closure), 328 B(Ldar), R(closure),
344 B(CreateBlockContext), U8(0), 329 B(CreateBlockContext), U8(0),
345 B(PushContext), R(1), 330 B(PushContext), R(1),
346 B(LdaTheHole), 331 B(LdaTheHole),
347 B(StaCurrentContextSlot), U8(4), 332 B(StaCurrentContextSlot), U8(4),
348 B(LdaZero), 333 B(LdaZero),
349 B(StaContextSlot), R(1), U8(9), U8(0), 334 B(StaContextSlot), R(1), U8(8), U8(0),
350 B(Mov), R(context), R(10), 335 B(Mov), R(context), R(10),
351 B(Mov), R(context), R(11), 336 B(Mov), R(context), R(11),
352 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(2), U8(9), 337 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(2), U8(9),
353 B(Star), R(12), 338 B(Star), R(12),
354 B(LdaNamedProperty), R(12), U8(2), U8(3), 339 B(LdaNamedProperty), R(12), U8(2), U8(3),
355 B(Star), R(13), 340 B(Star), R(13),
356 B(CallProperty), R(13), R(12), U8(1), U8(5), 341 B(CallProperty), R(13), R(12), U8(1), U8(5),
357 B(JumpIfJSReceiver), U8(7), 342 B(JumpIfJSReceiver), U8(7),
358 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0), 343 B(CallRuntime), U16(Runtime::kThrowSymbolIteratorInvalid), R(0), U8(0),
359 /* 30 E> */ B(StaContextSlot), R(1), U8(7), U8(0), 344 /* 30 E> */ B(StaContextSlot), R(1), U8(6), U8(0),
360 B(LdaSmi), I8(-2), 345 B(LdaSmi), I8(-2),
361 B(TestEqual), R(3), U8(0), 346 B(TestEqual), R(3), U8(0),
362 B(JumpIfTrue), U8(18), 347 B(JumpIfTrue), U8(18),
363 B(LdaSmi), I8(1), 348 B(LdaSmi), I8(1),
364 B(TestEqualStrict), R(3), U8(0), 349 B(TestEqualStrict), R(3), U8(0),
365 B(JumpIfTrue), U8(134), 350 B(JumpIfTrue), U8(134),
366 B(LdaSmi), I8(78), 351 B(LdaSmi), I8(78),
367 B(Star), R(12), 352 B(Star), R(12),
368 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), 353 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
369 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), U8(0), 354 /* 27 S> */ B(LdaContextSlot), R(1), U8(6), U8(0),
370 B(Star), R(13), 355 B(Star), R(13),
371 B(LdaNamedProperty), R(13), U8(3), U8(9), 356 B(LdaNamedProperty), R(13), U8(3), U8(9),
372 B(Star), R(12), 357 B(Star), R(12),
373 /* 27 E> */ B(CallProperty), R(12), R(13), U8(1), U8(7), 358 /* 27 E> */ B(CallProperty), R(12), R(13), U8(1), U8(7),
374 /* 27 E> */ B(StaContextSlot), R(1), U8(8), U8(0), 359 /* 27 E> */ B(StaContextSlot), R(1), U8(7), U8(0),
375 B(Star), R(12), 360 B(Star), R(12),
376 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), 361 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
377 B(ToBooleanLogicalNot), 362 B(ToBooleanLogicalNot),
378 B(JumpIfFalse), U8(13), 363 B(JumpIfFalse), U8(13),
379 B(LdaContextSlot), R(1), U8(8), U8(0), 364 B(LdaContextSlot), R(1), U8(7), U8(0),
380 B(Star), R(12), 365 B(Star), R(12),
381 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1), 366 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (12), U8(1),
382 B(LdaContextSlot), R(1), U8(8), U8(0), 367 B(LdaContextSlot), R(1), U8(7), U8(0),
383 B(Star), R(12), 368 B(Star), R(12),
384 B(LdaNamedProperty), R(12), U8(4), U8(11), 369 B(LdaNamedProperty), R(12), U8(4), U8(11),
385 B(JumpIfToBooleanTrue), U8(147), 370 B(JumpIfToBooleanTrue), U8(147),
386 B(LdaContextSlot), R(1), U8(8), U8(0), 371 B(LdaContextSlot), R(1), U8(7), U8(0),
387 B(Star), R(12), 372 B(Star), R(12),
388 B(LdaNamedProperty), R(12), U8(5), U8(13), 373 B(LdaNamedProperty), R(12), U8(5), U8(13),
389 B(StaContextSlot), R(1), U8(10), U8(0), 374 B(StaContextSlot), R(1), U8(9), U8(0),
390 B(LdaSmi), I8(2), 375 B(LdaSmi), I8(2),
391 B(StaContextSlot), R(1), U8(9), U8(0), 376 B(StaContextSlot), R(1), U8(8), U8(0),
392 B(LdaContextSlot), R(1), U8(10), U8(0), 377 B(LdaContextSlot), R(1), U8(9), U8(0),
393 B(StaContextSlot), R(1), U8(6), U8(0), 378 B(StaContextSlot), R(1), U8(5), U8(0),
394 /* 16 E> */ B(StackCheck), 379 /* 16 E> */ B(StackCheck),
395 B(Ldar), R(closure), 380 B(Ldar), R(closure),
396 B(CreateBlockContext), U8(6), 381 B(CreateBlockContext), U8(6),
397 B(PushContext), R(2), 382 B(PushContext), R(2),
398 B(LdaTheHole), 383 B(LdaTheHole),
399 B(StaCurrentContextSlot), U8(4), 384 B(StaCurrentContextSlot), U8(4),
400 B(LdaContextSlot), R(1), U8(6), U8(0), 385 B(LdaContextSlot), R(1), U8(5), U8(0),
401 B(StaCurrentContextSlot), U8(4), 386 B(StaCurrentContextSlot), U8(4),
402 /* 36 S> */ B(LdaCurrentContextSlot), U8(4), 387 /* 36 S> */ B(LdaContextSlot), R(1), U8(4), U8(0),
403 B(Star), R(12), 388 B(Star), R(12),
389 B(LdaCurrentContextSlot), U8(4),
390 B(Star), R(13),
404 B(LdaFalse), 391 B(LdaFalse),
405 B(Star), R(13), 392 B(Star), R(14),
406 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(12) , U8(2), 393 /* 42 E> */ B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(13) , U8(2),
407 B(Star), R(12),
408 B(LdaContextSlot), R(1), U8(5), U8(0),
409 B(Star), R(13), 394 B(Star), R(13),
410 B(LdaSmi), I8(1), 395 B(LdaSmi), I8(1),
411 B(SuspendGenerator), R(13), 396 B(SuspendGenerator), R(12),
412 B(Ldar), R(12), 397 B(Ldar), R(13),
413 /* 44 S> */ B(Return), 398 /* 44 S> */ B(Return),
414 B(LdaSmi), I8(-2), 399 B(LdaSmi), I8(-2),
415 B(Star), R(3), 400 B(Star), R(3),
416 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 3), U8(1), 401 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 2), U8(1),
417 B(Star), R(14), 402 B(Star), R(14),
418 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(13), U 8(1), 403 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U 8(1),
419 B(Star), R(15), 404 B(Star), R(15),
420 B(LdaZero), 405 B(LdaZero),
421 B(TestEqualStrict), R(15), U8(0), 406 B(TestEqualStrict), R(15), U8(0),
422 B(JumpIfTrue), U8(43), 407 B(JumpIfTrue), U8(43),
423 B(LdaSmi), I8(2), 408 B(LdaSmi), I8(2),
424 B(TestEqualStrict), R(15), U8(0), 409 B(TestEqualStrict), R(15), U8(0),
425 B(JumpIfTrue), U8(33), 410 B(JumpIfTrue), U8(33),
426 B(Jump), U8(2), 411 B(Jump), U8(2),
427 B(LdaTrue), 412 B(LdaTrue),
428 B(Star), R(17), 413 B(Star), R(17),
429 B(Mov), R(14), R(16), 414 B(Mov), R(14), R(16),
430 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2), 415 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(16) , U8(2),
431 B(PopContext), R(2), 416 B(PopContext), R(2),
432 B(PopContext), R(2), 417 B(PopContext), R(2),
433 B(PopContext), R(2), 418 B(PopContext), R(2),
434 B(PopContext), R(2), 419 B(PopContext), R(2),
435 B(PopContext), R(2), 420 B(PopContext), R(2),
436 B(PopContext), R(2), 421 B(PopContext), R(2),
437 B(Star), R(9), 422 B(Star), R(9),
438 B(LdaZero), 423 B(LdaZero),
439 B(Star), R(8), 424 B(Star), R(8),
440 B(Jump), U8(71), 425 B(Jump), U8(71),
441 B(Ldar), R(14), 426 B(Ldar), R(14),
442 /* 36 E> */ B(Throw), 427 /* 36 E> */ B(Throw),
443 B(PopContext), R(2), 428 B(PopContext), R(2),
444 B(LdaZero), 429 B(LdaZero),
445 B(StaContextSlot), R(1), U8(9), U8(0), 430 B(StaContextSlot), R(1), U8(8), U8(0),
446 B(JumpLoop), U8(218), I8(0), 431 B(JumpLoop), U8(218), I8(0),
447 B(Jump), U8(44), 432 B(Jump), U8(44),
448 B(Star), R(12), 433 B(Star), R(12),
449 B(Ldar), R(closure), 434 B(Ldar), R(closure),
450 B(CreateCatchContext), R(12), U8(7), U8(8), 435 B(CreateCatchContext), R(12), U8(7), U8(8),
451 B(Star), R(11), 436 B(Star), R(11),
452 B(PushContext), R(2), 437 B(PushContext), R(2),
453 B(LdaContextSlot), R(1), U8(9), U8(0), 438 B(LdaContextSlot), R(1), U8(8), U8(0),
454 B(Star), R(12), 439 B(Star), R(12),
455 B(LdaSmi), I8(2), 440 B(LdaSmi), I8(2),
456 B(TestEqualStrict), R(12), U8(15), 441 B(TestEqualStrict), R(12), U8(15),
457 B(JumpIfFalse), U8(8), 442 B(JumpIfFalse), U8(8),
458 B(LdaSmi), I8(1), 443 B(LdaSmi), I8(1),
459 B(StaContextSlot), R(1), U8(9), U8(0), 444 B(StaContextSlot), R(1), U8(8), U8(0),
460 B(LdaCurrentContextSlot), U8(4), 445 B(LdaCurrentContextSlot), U8(4),
461 B(Star), R(12), 446 B(Star), R(12),
462 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), 447 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1),
463 B(PopContext), R(2), 448 B(PopContext), R(2),
464 B(LdaSmi), I8(-1), 449 B(LdaSmi), I8(-1),
465 B(Star), R(8), 450 B(Star), R(8),
466 B(Jump), U8(8), 451 B(Jump), U8(8),
467 B(Star), R(9), 452 B(Star), R(9),
468 B(LdaSmi), I8(1), 453 B(LdaSmi), I8(1),
469 B(Star), R(8), 454 B(Star), R(8),
470 B(LdaTheHole), 455 B(LdaTheHole),
471 B(SetPendingMessage), 456 B(SetPendingMessage),
472 B(Star), R(10), 457 B(Star), R(10),
473 B(LdaContextSlot), R(1), U8(9), U8(0), 458 B(LdaContextSlot), R(1), U8(8), U8(0),
474 B(Star), R(11), 459 B(Star), R(11),
475 B(LdaZero), 460 B(LdaZero),
476 B(TestEqualStrict), R(11), U8(16), 461 B(TestEqualStrict), R(11), U8(16),
477 B(JumpIfTrue), U8(159), 462 B(JumpIfTrue), U8(159),
478 B(LdaContextSlot), R(1), U8(7), U8(0), 463 B(LdaContextSlot), R(1), U8(6), U8(0),
479 B(Star), R(11), 464 B(Star), R(11),
480 B(LdaNamedProperty), R(11), U8(9), U8(17), 465 B(LdaNamedProperty), R(11), U8(9), U8(17),
481 B(StaContextSlot), R(1), U8(11), U8(0), 466 B(StaContextSlot), R(1), U8(10), U8(0),
482 B(LdaContextSlot), R(1), U8(11), U8(0), 467 B(LdaContextSlot), R(1), U8(10), U8(0),
483 B(Star), R(11), 468 B(Star), R(11),
484 B(TestUndetectable), R(11), 469 B(TestUndetectable), R(11),
485 B(JumpIfFalse), U8(4), 470 B(JumpIfFalse), U8(4),
486 B(Jump), U8(133), 471 B(Jump), U8(133),
487 B(LdaContextSlot), R(1), U8(9), U8(0), 472 B(LdaContextSlot), R(1), U8(8), U8(0),
488 B(Star), R(11), 473 B(Star), R(11),
489 B(LdaSmi), I8(1), 474 B(LdaSmi), I8(1),
490 B(TestEqualStrict), R(11), U8(20), 475 B(TestEqualStrict), R(11), U8(20),
491 B(JumpIfFalse), U8(75), 476 B(JumpIfFalse), U8(75),
492 B(LdaContextSlot), R(1), U8(11), U8(0), 477 B(LdaContextSlot), R(1), U8(10), U8(0),
493 B(TypeOf), 478 B(TypeOf),
494 B(Star), R(11), 479 B(Star), R(11),
495 B(LdaConstant), U8(10), 480 B(LdaConstant), U8(10),
496 B(TestEqualStrict), R(11), U8(21), 481 B(TestEqualStrict), R(11), U8(21),
497 B(JumpIfFalse), U8(4), 482 B(JumpIfFalse), U8(4),
498 B(Jump), U8(18), 483 B(Jump), U8(18),
499 B(Wide), B(LdaSmi), I16(131), 484 B(Wide), B(LdaSmi), I16(131),
500 B(Star), R(11), 485 B(Star), R(11),
501 B(LdaConstant), U8(11), 486 B(LdaConstant), U8(11),
502 B(Star), R(12), 487 B(Star), R(12),
503 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), 488 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
504 B(Throw), 489 B(Throw),
505 B(Mov), R(context), R(11), 490 B(Mov), R(context), R(11),
506 B(LdaContextSlot), R(1), U8(11), U8(0), 491 B(LdaContextSlot), R(1), U8(10), U8(0),
507 B(Star), R(12), 492 B(Star), R(12),
508 B(LdaContextSlot), R(1), U8(7), U8(0), 493 B(LdaContextSlot), R(1), U8(6), U8(0),
509 B(Star), R(13), 494 B(Star), R(13),
510 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2), 495 B(InvokeIntrinsic), U8(Runtime::k_Call), R(12), U8(2),
511 B(Jump), U8(20), 496 B(Jump), U8(20),
512 B(Star), R(12), 497 B(Star), R(12),
513 B(Ldar), R(closure), 498 B(Ldar), R(closure),
514 B(CreateCatchContext), R(12), U8(7), U8(12), 499 B(CreateCatchContext), R(12), U8(7), U8(12),
515 B(Star), R(11), 500 B(Star), R(11),
516 B(LdaTheHole), 501 B(LdaTheHole),
517 B(SetPendingMessage), 502 B(SetPendingMessage),
518 B(Ldar), R(11), 503 B(Ldar), R(11),
519 B(PushContext), R(2), 504 B(PushContext), R(2),
520 B(PopContext), R(2), 505 B(PopContext), R(2),
521 B(Jump), U8(47), 506 B(Jump), U8(47),
522 B(LdaContextSlot), R(1), U8(11), U8(0), 507 B(LdaContextSlot), R(1), U8(10), U8(0),
523 B(Star), R(11), 508 B(Star), R(11),
524 B(LdaContextSlot), R(1), U8(7), U8(0), 509 B(LdaContextSlot), R(1), U8(6), U8(0),
525 B(Star), R(12), 510 B(Star), R(12),
526 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), 511 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2),
527 B(StaContextSlot), R(1), U8(12), U8(0), 512 B(StaContextSlot), R(1), U8(11), U8(0),
528 B(LdaContextSlot), R(1), U8(12), U8(0), 513 B(LdaContextSlot), R(1), U8(11), U8(0),
529 B(Star), R(11), 514 B(Star), R(11),
530 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), 515 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1),
531 B(JumpIfToBooleanFalse), U8(4), 516 B(JumpIfToBooleanFalse), U8(4),
532 B(Jump), U8(13), 517 B(Jump), U8(13),
533 B(LdaContextSlot), R(1), U8(12), U8(0), 518 B(LdaContextSlot), R(1), U8(11), U8(0),
534 B(Star), R(11), 519 B(Star), R(11),
535 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1), 520 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1),
536 B(Ldar), R(10), 521 B(Ldar), R(10),
537 B(SetPendingMessage), 522 B(SetPendingMessage),
538 B(LdaZero), 523 B(LdaZero),
539 B(TestEqualStrict), R(8), U8(0), 524 B(TestEqualStrict), R(8), U8(0),
540 B(JumpIfTrue), U8(11), 525 B(JumpIfTrue), U8(11),
541 B(LdaSmi), I8(1), 526 B(LdaSmi), I8(1),
542 B(TestEqualStrict), R(8), U8(0), 527 B(TestEqualStrict), R(8), U8(0),
543 B(JumpIfTrue), U8(17), 528 B(JumpIfTrue), U8(15),
544 B(Jump), U8(28), 529 B(Jump), U8(24),
545 B(PopContext), R(1),
546 B(PopContext), R(1), 530 B(PopContext), R(1),
547 B(LdaSmi), I8(1), 531 B(LdaSmi), I8(1),
548 B(Star), R(5), 532 B(Star), R(5),
549 B(Mov), R(9), R(6), 533 B(Mov), R(9), R(6),
550 B(Jump), U8(47), 534 B(Jump), U8(45),
551 B(PopContext), R(1),
552 B(PopContext), R(1), 535 B(PopContext), R(1),
553 B(LdaSmi), I8(2), 536 B(LdaSmi), I8(2),
554 B(Star), R(5), 537 B(Star), R(5),
555 B(Mov), R(9), R(6), 538 B(Mov), R(9), R(6),
556 B(Jump), U8(34), 539 B(Jump), U8(34),
557 B(PopContext), R(1), 540 B(PopContext), R(1),
558 B(LdaUndefined), 541 B(LdaUndefined),
559 B(Star), R(8), 542 B(Star), R(8),
560 B(LdaTrue), 543 B(LdaTrue),
561 B(Star), R(9), 544 B(Star), R(9),
562 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2), 545 B(InvokeIntrinsic), U8(Runtime::k_CreateIterResultObject), R(8), U8(2),
563 B(Star), R(6), 546 B(Star), R(6),
564 B(LdaSmi), I8(3), 547 B(LdaSmi), I8(3),
565 B(Star), R(5), 548 B(Star), R(5),
566 B(Jump), U8(14), 549 B(Jump), U8(14),
567 B(LdaSmi), I8(-1), 550 B(LdaSmi), I8(-1),
568 B(Star), R(5), 551 B(Star), R(5),
569 B(Jump), U8(8), 552 B(Jump), U8(8),
570 B(Star), R(6), 553 B(Star), R(6),
571 B(LdaSmi), I8(4), 554 B(LdaSmi), I8(4),
572 B(Star), R(5), 555 B(Star), R(5),
573 B(LdaTheHole), 556 B(LdaTheHole),
574 B(SetPendingMessage), 557 B(SetPendingMessage),
575 B(Star), R(7), 558 B(Star), R(7),
576 B(LdaCurrentContextSlot), U8(5), 559 B(LdaCurrentContextSlot), U8(4),
577 B(Star), R(8), 560 B(Star), R(8),
578 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1), 561 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1),
579 B(Ldar), R(7), 562 B(Ldar), R(7),
580 B(SetPendingMessage), 563 B(SetPendingMessage),
581 B(LdaZero), 564 B(LdaZero),
582 B(TestEqualStrict), R(5), U8(0), 565 B(TestEqualStrict), R(5), U8(0),
583 B(JumpIfTrue), U8(32), 566 B(JumpIfTrue), U8(32),
584 B(LdaSmi), I8(1), 567 B(LdaSmi), I8(1),
585 B(TestEqualStrict), R(5), U8(0), 568 B(TestEqualStrict), R(5), U8(0),
586 B(JumpIfTrue), U8(28), 569 B(JumpIfTrue), U8(28),
(...skipping 27 matching lines...) Expand all
614 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"], 597 ONE_BYTE_INTERNALIZED_STRING_TYPE ["next"],
615 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"], 598 ONE_BYTE_INTERNALIZED_STRING_TYPE ["done"],
616 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"], 599 ONE_BYTE_INTERNALIZED_STRING_TYPE ["value"],
617 FIXED_ARRAY_TYPE, 600 FIXED_ARRAY_TYPE,
618 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"], 601 ONE_BYTE_INTERNALIZED_STRING_TYPE [".catch"],
619 FIXED_ARRAY_TYPE, 602 FIXED_ARRAY_TYPE,
620 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"], 603 ONE_BYTE_INTERNALIZED_STRING_TYPE ["return"],
621 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], 604 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"],
622 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 605 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
623 FIXED_ARRAY_TYPE, 606 FIXED_ARRAY_TYPE,
624 Smi [579], 607 Smi [575],
625 ] 608 ]
626 handlers: [ 609 handlers: [
627 [53, 694, 700], 610 [49, 681, 687],
628 [149, 445, 451], 611 [140, 436, 442],
629 [152, 401, 403], 612 [143, 392, 394],
630 [547, 563, 565], 613 [538, 554, 556],
631 ] 614 ]
632 615
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698