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

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

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

Powered by Google App Engine
This is Rietveld 408576698