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

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

Issue 2286273002: [interpreter] Make the comparison bytecode handlers collect type feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix. Created 4 years, 3 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: no 8 wrap: no
9 test function name: f 9 test function name: f
10 10
11 --- 11 ---
12 snippet: " 12 snippet: "
13 function* f() { } 13 function* f() { }
14 f(); 14 f();
15 " 15 "
16 frame size: 11 16 frame size: 11
17 parameter count: 1 17 parameter count: 1
18 bytecode array length: 201 18 bytecode array length: 207
19 bytecodes: [ 19 bytecodes: [
20 B(Ldar), R(new_target), 20 B(Ldar), R(new_target),
21 B(JumpIfUndefined), U8(20), 21 B(JumpIfUndefined), U8(21),
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), 25 B(TestEqualStrict), R(1), U8(0),
26 B(JumpIfTrue), U8(57), 26 B(JumpIfTrue), U8(57),
27 B(LdaSmi), U8(76), 27 B(LdaSmi), U8(76),
28 B(Star), R(2), 28 B(Star), R(2),
29 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), 29 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
30 B(LdaSmi), U8(-2), 30 B(LdaSmi), U8(-2),
31 B(Star), R(1), 31 B(Star), R(1),
32 B(CreateFunctionContext), U8(2), 32 B(CreateFunctionContext), U8(2),
33 B(PushContext), R(0), 33 B(PushContext), R(0),
34 B(Ldar), R(this), 34 B(Ldar), R(this),
35 B(StaContextSlot), R(context), U8(4), 35 B(StaContextSlot), R(context), U8(4),
(...skipping 10 matching lines...) Expand all
46 B(SuspendGenerator), R(6), 46 B(SuspendGenerator), R(6),
47 B(Ldar), R(5), 47 B(Ldar), R(5),
48 /* 16 S> */ B(Return), 48 /* 16 S> */ B(Return),
49 B(LdaSmi), U8(-2), 49 B(LdaSmi), U8(-2),
50 B(Star), R(1), 50 B(Star), R(1),
51 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6 ), U8(1), 51 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6 ), U8(1),
52 B(Star), R(7), 52 B(Star), R(7),
53 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1), 53 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1),
54 B(Star), R(8), 54 B(Star), R(8),
55 B(LdaZero), 55 B(LdaZero),
56 B(TestEqualStrict), R(8), 56 B(TestEqualStrict), R(8), U8(0),
57 B(JumpIfTrue), U8(31), 57 B(JumpIfTrue), U8(32),
58 B(LdaSmi), U8(2), 58 B(LdaSmi), U8(2),
59 B(TestEqualStrict), R(8), 59 B(TestEqualStrict), R(8), U8(0),
60 B(JumpIfTrue), U8(22), 60 B(JumpIfTrue), U8(22),
61 B(Jump), U8(2), 61 B(Jump), U8(2),
62 B(LdaTrue), 62 B(LdaTrue),
63 B(Star), R(10), 63 B(Star), R(10),
64 B(Mov), R(7), R(9), 64 B(Mov), R(7), R(9),
65 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2), 65 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2),
66 B(Star), R(3), 66 B(Star), R(3),
67 B(LdaZero), 67 B(LdaZero),
68 B(Star), R(2), 68 B(Star), R(2),
69 B(Jump), U8(35), 69 B(Jump), U8(35),
(...skipping 12 matching lines...) Expand all
82 B(Jump), U8(8), 82 B(Jump), U8(8),
83 B(Star), R(3), 83 B(Star), R(3),
84 B(LdaSmi), U8(2), 84 B(LdaSmi), U8(2),
85 B(Star), R(2), 85 B(Star), R(2),
86 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 86 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
87 B(Star), R(4), 87 B(Star), R(4),
88 B(LdrContextSlot), R(context), U8(5), R(5), 88 B(LdrContextSlot), R(context), U8(5), R(5),
89 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1), 89 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1),
90 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4 ), U8(1), 90 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4 ), U8(1),
91 B(LdaZero), 91 B(LdaZero),
92 B(TestEqualStrict), R(2), 92 B(TestEqualStrict), R(2), U8(0),
93 B(JumpIfTrue), U8(16), 93 B(JumpIfTrue), U8(18),
94 B(LdaSmi), U8(1), 94 B(LdaSmi), U8(1),
95 B(TestEqualStrict), R(2), 95 B(TestEqualStrict), R(2), U8(0),
96 B(JumpIfTrue), U8(13), 96 B(JumpIfTrue), U8(14),
97 B(LdaSmi), U8(2), 97 B(LdaSmi), U8(2),
98 B(TestEqualStrict), R(2), 98 B(TestEqualStrict), R(2), U8(0),
99 B(JumpIfTrue), U8(10), 99 B(JumpIfTrue), U8(10),
100 B(Jump), U8(11), 100 B(Jump), U8(11),
101 B(Ldar), R(3), 101 B(Ldar), R(3),
102 /* 16 S> */ B(Return), 102 /* 16 S> */ B(Return),
103 B(Ldar), R(3), 103 B(Ldar), R(3),
104 /* 16 S> */ B(Return), 104 /* 16 S> */ B(Return),
105 B(Ldar), R(3), 105 B(Ldar), R(3),
106 B(ReThrow), 106 B(ReThrow),
107 B(LdaUndefined), 107 B(LdaUndefined),
108 /* 16 S> */ B(Return), 108 /* 16 S> */ B(Return),
109 ] 109 ]
110 constant pool: [ 110 constant pool: [
111 ] 111 ]
112 handlers: [ 112 handlers: [
113 [39, 138, 144], 113 [40, 141, 147],
114 ] 114 ]
115 115
116 --- 116 ---
117 snippet: " 117 snippet: "
118 function* f() { yield 42 } 118 function* f() { yield 42 }
119 f(); 119 f();
120 " 120 "
121 frame size: 11 121 frame size: 11
122 parameter count: 1 122 parameter count: 1
123 bytecode array length: 294 123 bytecode array length: 304
124 bytecodes: [ 124 bytecodes: [
125 B(Ldar), R(new_target), 125 B(Ldar), R(new_target),
126 B(JumpIfUndefined), U8(26), 126 B(JumpIfUndefined), U8(28),
127 B(ResumeGenerator), R(new_target), 127 B(ResumeGenerator), R(new_target),
128 B(Star), R(1), 128 B(Star), R(1),
129 B(LdaZero), 129 B(LdaZero),
130 B(TestEqualStrict), R(1), 130 B(TestEqualStrict), R(1), U8(0),
131 B(JumpIfTrue), U8(63), 131 B(JumpIfTrue), U8(64),
132 B(LdaSmi), U8(1), 132 B(LdaSmi), U8(1),
133 B(TestEqualStrict), R(1), 133 B(TestEqualStrict), R(1), U8(0),
134 B(JumpIfTrueConstant), U8(0), 134 B(JumpIfTrueConstant), U8(0),
135 B(LdaSmi), U8(76), 135 B(LdaSmi), U8(76),
136 B(Star), R(2), 136 B(Star), R(2),
137 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), 137 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
138 B(LdaSmi), U8(-2), 138 B(LdaSmi), U8(-2),
139 B(Star), R(1), 139 B(Star), R(1),
140 B(CreateFunctionContext), U8(2), 140 B(CreateFunctionContext), U8(2),
141 B(PushContext), R(0), 141 B(PushContext), R(0),
142 B(Ldar), R(this), 142 B(Ldar), R(this),
143 B(StaContextSlot), R(context), U8(4), 143 B(StaContextSlot), R(context), U8(4),
(...skipping 10 matching lines...) Expand all
154 B(SuspendGenerator), R(6), 154 B(SuspendGenerator), R(6),
155 B(Ldar), R(5), 155 B(Ldar), R(5),
156 /* 25 S> */ B(Return), 156 /* 25 S> */ B(Return),
157 B(LdaSmi), U8(-2), 157 B(LdaSmi), U8(-2),
158 B(Star), R(1), 158 B(Star), R(1),
159 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6 ), U8(1), 159 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(6 ), U8(1),
160 B(Star), R(7), 160 B(Star), R(7),
161 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1), 161 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1),
162 B(Star), R(8), 162 B(Star), R(8),
163 B(LdaZero), 163 B(LdaZero),
164 B(TestEqualStrict), R(8), 164 B(TestEqualStrict), R(8), U8(0),
165 B(JumpIfTrue), U8(31), 165 B(JumpIfTrue), U8(32),
166 B(LdaSmi), U8(2), 166 B(LdaSmi), U8(2),
167 B(TestEqualStrict), R(8), 167 B(TestEqualStrict), R(8), U8(0),
168 B(JumpIfTrue), U8(22), 168 B(JumpIfTrue), U8(22),
169 B(Jump), U8(2), 169 B(Jump), U8(2),
170 B(LdaTrue), 170 B(LdaTrue),
171 B(Star), R(10), 171 B(Star), R(10),
172 B(Mov), R(7), R(9), 172 B(Mov), R(7), R(9),
173 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2), 173 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2),
174 B(Star), R(3), 174 B(Star), R(3),
175 B(LdaZero), 175 B(LdaZero),
176 B(Star), R(2), 176 B(Star), R(2),
177 B(Jump), U8(113), 177 B(Jump), U8(115),
178 B(Ldar), R(7), 178 B(Ldar), R(7),
179 /* 11 E> */ B(Throw), 179 /* 11 E> */ B(Throw),
180 /* 16 S> */ B(LdaSmi), U8(42), 180 /* 16 S> */ B(LdaSmi), U8(42),
181 B(Star), R(5), 181 B(Star), R(5),
182 B(LdaFalse), 182 B(LdaFalse),
183 B(Star), R(6), 183 B(Star), R(6),
184 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2), 184 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2),
185 B(Star), R(7), 185 B(Star), R(7),
186 B(LdrContextSlot), R(context), U8(5), R(5), 186 B(LdrContextSlot), R(context), U8(5), R(5),
187 B(LdaSmi), U8(1), 187 B(LdaSmi), U8(1),
188 B(SuspendGenerator), R(5), 188 B(SuspendGenerator), R(5),
189 B(Ldar), R(7), 189 B(Ldar), R(7),
190 /* 25 S> */ B(Return), 190 /* 25 S> */ B(Return),
191 B(LdaSmi), U8(-2), 191 B(LdaSmi), U8(-2),
192 B(Star), R(1), 192 B(Star), R(1),
193 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5 ), U8(1), 193 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(5 ), U8(1),
194 B(Star), R(6), 194 B(Star), R(6),
195 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8 (1), 195 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8 (1),
196 B(Star), R(8), 196 B(Star), R(8),
197 B(LdaZero), 197 B(LdaZero),
198 B(TestEqualStrict), R(8), 198 B(TestEqualStrict), R(8), U8(0),
199 B(JumpIfTrue), U8(32), 199 B(JumpIfTrue), U8(33),
200 B(LdaSmi), U8(2), 200 B(LdaSmi), U8(2),
201 B(TestEqualStrict), R(8), 201 B(TestEqualStrict), R(8), U8(0),
202 B(JumpIfTrue), U8(23), 202 B(JumpIfTrue), U8(23),
203 B(Jump), U8(2), 203 B(Jump), U8(2),
204 B(LdaTrue), 204 B(LdaTrue),
205 B(Star), R(10), 205 B(Star), R(10),
206 B(Mov), R(6), R(9), 206 B(Mov), R(6), R(9),
207 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2), 207 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2),
208 B(Star), R(3), 208 B(Star), R(3),
209 B(LdaSmi), U8(1), 209 B(LdaSmi), U8(1),
210 B(Star), R(2), 210 B(Star), R(2),
211 B(Jump), U8(35), 211 B(Jump), U8(35),
(...skipping 12 matching lines...) Expand all
224 B(Jump), U8(8), 224 B(Jump), U8(8),
225 B(Star), R(3), 225 B(Star), R(3),
226 B(LdaSmi), U8(3), 226 B(LdaSmi), U8(3),
227 B(Star), R(2), 227 B(Star), R(2),
228 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 228 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
229 B(Star), R(4), 229 B(Star), R(4),
230 B(LdrContextSlot), R(context), U8(5), R(5), 230 B(LdrContextSlot), R(context), U8(5), R(5),
231 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1), 231 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1),
232 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4 ), U8(1), 232 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4 ), U8(1),
233 B(LdaZero), 233 B(LdaZero),
234 B(TestEqualStrict), R(2), 234 B(TestEqualStrict), R(2), U8(0),
235 B(JumpIfTrue), U8(22), 235 B(JumpIfTrue), U8(25),
236 B(LdaSmi), U8(1), 236 B(LdaSmi), U8(1),
237 B(TestEqualStrict), R(2), 237 B(TestEqualStrict), R(2), U8(0),
238 B(JumpIfTrue), U8(19), 238 B(JumpIfTrue), U8(21),
239 B(LdaSmi), U8(2), 239 B(LdaSmi), U8(2),
240 B(TestEqualStrict), R(2), 240 B(TestEqualStrict), R(2), U8(0),
241 B(JumpIfTrue), U8(16), 241 B(JumpIfTrue), U8(17),
242 B(LdaSmi), U8(3), 242 B(LdaSmi), U8(3),
243 B(TestEqualStrict), R(2), 243 B(TestEqualStrict), R(2), U8(0),
244 B(JumpIfTrue), U8(13), 244 B(JumpIfTrue), U8(13),
245 B(Jump), U8(14), 245 B(Jump), U8(14),
246 B(Ldar), R(3), 246 B(Ldar), R(3),
247 /* 25 S> */ B(Return), 247 /* 25 S> */ B(Return),
248 B(Ldar), R(3), 248 B(Ldar), R(3),
249 /* 25 S> */ B(Return), 249 /* 25 S> */ B(Return),
250 B(Ldar), R(3), 250 B(Ldar), R(3),
251 /* 25 S> */ B(Return), 251 /* 25 S> */ B(Return),
252 B(Ldar), R(3), 252 B(Ldar), R(3),
253 B(ReThrow), 253 B(ReThrow),
254 B(LdaUndefined), 254 B(LdaUndefined),
255 /* 25 S> */ B(Return), 255 /* 25 S> */ B(Return),
256 ] 256 ]
257 constant pool: [ 257 constant pool: [
258 kInstanceTypeDontCare, 258 kInstanceTypeDontCare,
259 ] 259 ]
260 handlers: [ 260 handlers: [
261 [45, 222, 228], 261 [47, 228, 234],
262 ] 262 ]
263 263
264 --- 264 ---
265 snippet: " 265 snippet: "
266 function* f() { for (let x of [42]) yield x } 266 function* f() { for (let x of [42]) yield x }
267 f(); 267 f();
268 " 268 "
269 frame size: 18 269 frame size: 18
270 parameter count: 1 270 parameter count: 1
271 bytecode array length: 742 271 bytecode array length: 763
272 bytecodes: [ 272 bytecodes: [
273 B(Ldar), R(new_target), 273 B(Ldar), R(new_target),
274 B(JumpIfUndefined), U8(26), 274 B(JumpIfUndefined), U8(28),
275 B(ResumeGenerator), R(new_target), 275 B(ResumeGenerator), R(new_target),
276 B(Star), R(4), 276 B(Star), R(4),
277 B(LdaZero), 277 B(LdaZero),
278 B(TestEqualStrict), R(4), 278 B(TestEqualStrict), R(4), U8(0),
279 B(JumpIfTrue), U8(63), 279 B(JumpIfTrue), U8(64),
280 B(LdaSmi), U8(1), 280 B(LdaSmi), U8(1),
281 B(TestEqualStrict), R(4), 281 B(TestEqualStrict), R(4), U8(0),
282 B(JumpIfTrueConstant), U8(3), 282 B(JumpIfTrueConstant), U8(3),
283 B(LdaSmi), U8(76), 283 B(LdaSmi), U8(76),
284 B(Star), R(5), 284 B(Star), R(5),
285 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1), 285 B(CallRuntime), U16(Runtime::kAbort), R(5), U8(1),
286 B(LdaSmi), U8(-2), 286 B(LdaSmi), U8(-2),
287 B(Star), R(4), 287 B(Star), R(4),
288 B(CreateFunctionContext), U8(9), 288 B(CreateFunctionContext), U8(9),
289 B(PushContext), R(0), 289 B(PushContext), R(0),
290 B(Ldar), R(this), 290 B(Ldar), R(this),
291 B(StaContextSlot), R(context), U8(4), 291 B(StaContextSlot), R(context), U8(4),
(...skipping 10 matching lines...) Expand all
302 B(SuspendGenerator), R(9), 302 B(SuspendGenerator), R(9),
303 B(Ldar), R(8), 303 B(Ldar), R(8),
304 /* 44 S> */ B(Return), 304 /* 44 S> */ B(Return),
305 B(LdaSmi), U8(-2), 305 B(LdaSmi), U8(-2),
306 B(Star), R(4), 306 B(Star), R(4),
307 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9 ), U8(1), 307 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(9 ), U8(1),
308 B(Star), R(10), 308 B(Star), R(10),
309 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8 (1), 309 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(9), U8 (1),
310 B(Star), R(11), 310 B(Star), R(11),
311 B(LdaZero), 311 B(LdaZero),
312 B(TestEqualStrict), R(11), 312 B(TestEqualStrict), R(11), U8(0),
313 B(JumpIfTrue), U8(31), 313 B(JumpIfTrue), U8(32),
314 B(LdaSmi), U8(2), 314 B(LdaSmi), U8(2),
315 B(TestEqualStrict), R(11), 315 B(TestEqualStrict), R(11), U8(0),
316 B(JumpIfTrue), U8(22), 316 B(JumpIfTrue), U8(22),
317 B(Jump), U8(2), 317 B(Jump), U8(2),
318 B(LdaTrue), 318 B(LdaTrue),
319 B(Star), R(13), 319 B(Star), R(13),
320 B(Mov), R(10), R(12), 320 B(Mov), R(10), R(12),
321 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U 8(2), 321 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(12), U 8(2),
322 B(Star), R(6), 322 B(Star), R(6),
323 B(LdaZero), 323 B(LdaZero),
324 B(Star), R(5), 324 B(Star), R(5),
325 B(JumpConstant), U8(17), 325 B(JumpConstant), U8(17),
326 B(Ldar), R(10), 326 B(Ldar), R(10),
327 /* 11 E> */ B(Throw), 327 /* 11 E> */ B(Throw),
328 B(Ldar), R(closure), 328 B(Ldar), R(closure),
329 B(CreateBlockContext), U8(0), 329 B(CreateBlockContext), U8(0),
330 B(PushContext), R(1), 330 B(PushContext), R(1),
331 B(LdaTheHole), 331 B(LdaTheHole),
332 B(StaContextSlot), R(context), U8(4), 332 B(StaContextSlot), R(context), U8(4),
333 B(LdaZero), 333 B(LdaZero),
334 B(StaContextSlot), R(1), U8(9), 334 B(StaContextSlot), R(1), U8(9),
335 B(Mov), R(context), R(10), 335 B(Mov), R(context), R(10),
336 B(Mov), R(context), R(11), 336 B(Mov), R(context), R(11),
337 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(3), 337 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(3),
338 B(Star), R(13), 338 B(Star), R(13),
339 B(LdaConstant), U8(2), 339 B(LdaConstant), U8(2),
340 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12), 340 /* 30 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12),
341 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(1), 341 /* 30 E> */ B(Call), R(12), R(13), U8(1), U8(1),
342 /* 30 E> */ B(StaContextSlot), R(1), U8(7), 342 /* 30 E> */ B(StaContextSlot), R(1), U8(7),
343 B(LdaSmi), U8(-2), 343 B(LdaSmi), U8(-2),
344 B(TestEqual), R(4), 344 B(TestEqual), R(4), U8(0),
345 B(JumpIfTrue), U8(17), 345 B(JumpIfTrue), U8(18),
346 B(LdaSmi), U8(1), 346 B(LdaSmi), U8(1),
347 B(TestEqualStrict), R(4), 347 B(TestEqualStrict), R(4), U8(0),
348 B(JumpIfTrueConstant), U8(9), 348 B(JumpIfTrueConstant), U8(9),
349 B(LdaSmi), U8(76), 349 B(LdaSmi), U8(76),
350 B(Star), R(12), 350 B(Star), R(12),
351 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1), 351 B(CallRuntime), U16(Runtime::kAbort), R(12), U8(1),
352 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(14), 352 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(14),
353 B(LdrNamedProperty), R(14), U8(4), U8(7), R(13), 353 B(LdrNamedProperty), R(14), U8(4), U8(7), R(13),
354 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(5), 354 /* 27 E> */ B(Call), R(13), R(14), U8(1), U8(5),
355 /* 27 E> */ B(StaContextSlot), R(1), U8(8), 355 /* 27 E> */ B(StaContextSlot), R(1), U8(8),
356 B(Star), R(12), 356 B(Star), R(12),
357 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1), 357 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(12), U8(1),
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 B(SuspendGenerator), R(12), 392 B(SuspendGenerator), R(12),
393 B(Ldar), R(14), 393 B(Ldar), R(14),
394 /* 44 S> */ B(Return), 394 /* 44 S> */ B(Return),
395 B(LdaSmi), U8(-2), 395 B(LdaSmi), U8(-2),
396 B(Star), R(4), 396 B(Star), R(4),
397 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 2), U8(1), 397 B(CallRuntime), U16(Runtime::k_GeneratorGetInputOrDebugPos), R(1 2), U8(1),
398 B(Star), R(13), 398 B(Star), R(13),
399 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U 8(1), 399 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(12), U 8(1),
400 B(Star), R(15), 400 B(Star), R(15),
401 B(LdaZero), 401 B(LdaZero),
402 B(TestEqualStrict), R(15), 402 B(TestEqualStrict), R(15), U8(0),
403 B(JumpIfTrue), U8(43), 403 B(JumpIfTrue), U8(44),
404 B(LdaSmi), U8(2), 404 B(LdaSmi), U8(2),
405 B(TestEqualStrict), R(15), 405 B(TestEqualStrict), R(15), U8(0),
406 B(JumpIfTrue), U8(34), 406 B(JumpIfTrue), U8(34),
407 B(Jump), U8(2), 407 B(Jump), U8(2),
408 B(LdaTrue), 408 B(LdaTrue),
409 B(Star), R(17), 409 B(Star), R(17),
410 B(Mov), R(13), R(16), 410 B(Mov), R(13), R(16),
411 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U 8(2), 411 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(16), U 8(2),
412 B(PopContext), R(2), 412 B(PopContext), R(2),
413 B(PopContext), R(2), 413 B(PopContext), R(2),
414 B(PopContext), R(2), 414 B(PopContext), R(2),
415 B(PopContext), R(2), 415 B(PopContext), R(2),
416 B(PopContext), R(2), 416 B(PopContext), R(2),
417 B(PopContext), R(2), 417 B(PopContext), R(2),
418 B(Star), R(9), 418 B(Star), R(9),
419 B(LdaZero), 419 B(LdaZero),
420 B(Star), R(8), 420 B(Star), R(8),
421 B(Jump), U8(68), 421 B(Jump), U8(69),
422 B(Ldar), R(13), 422 B(Ldar), R(13),
423 /* 36 E> */ B(Throw), 423 /* 36 E> */ B(Throw),
424 B(Ldar), R(13), 424 B(Ldar), R(13),
425 B(PopContext), R(2), 425 B(PopContext), R(2),
426 B(LdaZero), 426 B(LdaZero),
427 B(StaContextSlot), R(1), U8(9), 427 B(StaContextSlot), R(1), U8(9),
428 B(Wide), B(Jump), U16(-215), 428 B(Wide), B(Jump), U16(-219),
429 B(Jump), U8(39), 429 B(Jump), U8(40),
430 B(Star), R(12), 430 B(Star), R(12),
431 B(Ldar), R(closure), 431 B(Ldar), R(closure),
432 B(CreateCatchContext), R(12), U8(11), 432 B(CreateCatchContext), R(12), U8(11),
433 B(Star), R(11), 433 B(Star), R(11),
434 B(PushContext), R(2), 434 B(PushContext), R(2),
435 B(LdrContextSlot), R(0), U8(9), R(12), 435 B(LdrContextSlot), R(0), U8(9), R(12),
436 B(LdaSmi), U8(2), 436 B(LdaSmi), U8(2),
437 B(TestEqualStrict), R(12), 437 B(TestEqualStrict), R(12), U8(13),
438 B(JumpIfFalse), U8(7), 438 B(JumpIfFalse), U8(7),
439 B(LdaSmi), U8(1), 439 B(LdaSmi), U8(1),
440 B(StaContextSlot), R(0), U8(9), 440 B(StaContextSlot), R(0), U8(9),
441 B(LdrContextSlot), R(context), U8(4), R(12), 441 B(LdrContextSlot), R(context), U8(4), R(12),
442 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1), 442 B(CallRuntime), U16(Runtime::kReThrow), R(12), U8(1),
443 B(PopContext), R(2), 443 B(PopContext), R(2),
444 B(LdaSmi), U8(-1), 444 B(LdaSmi), U8(-1),
445 B(Star), R(8), 445 B(Star), R(8),
446 B(Jump), U8(8), 446 B(Jump), U8(8),
447 B(Star), R(9), 447 B(Star), R(9),
448 B(LdaSmi), U8(1), 448 B(LdaSmi), U8(1),
449 B(Star), R(8), 449 B(Star), R(8),
450 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 450 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
451 B(Star), R(10), 451 B(Star), R(10),
452 B(LdrContextSlot), R(1), U8(9), R(11), 452 B(LdrContextSlot), R(1), U8(9), R(11),
453 B(LdaZero), 453 B(LdaZero),
454 B(TestEqualStrict), R(11), 454 B(TestEqualStrict), R(11), U8(14),
455 B(JumpIfTrueConstant), U8(15), 455 B(JumpIfTrueConstant), U8(15),
456 B(LdrContextSlot), R(1), U8(7), R(11), 456 B(LdrContextSlot), R(1), U8(7), R(11),
457 B(LdaUndefined), 457 B(LdaUndefined),
458 B(TestEqualStrict), R(11), 458 B(TestEqualStrict), R(11), U8(15),
459 B(JumpIfTrueConstant), U8(16), 459 B(JumpIfTrueConstant), U8(16),
460 B(LdrContextSlot), R(1), U8(7), R(11), 460 B(LdrContextSlot), R(1), U8(7), R(11),
461 B(LdaNamedProperty), R(11), U8(12), U8(13), 461 B(LdaNamedProperty), R(11), U8(12), U8(16),
462 B(StaContextSlot), R(1), U8(11), 462 B(StaContextSlot), R(1), U8(11),
463 B(LdrContextSlot), R(1), U8(11), R(11), 463 B(LdrContextSlot), R(1), U8(11), R(11),
464 B(LdaNull), 464 B(LdaNull),
465 B(TestEqual), R(11), 465 B(TestEqual), R(11), U8(18),
466 B(JumpIfFalse), U8(4), 466 B(JumpIfFalse), U8(4),
467 B(Jump), U8(117), 467 B(Jump), U8(119),
468 B(LdrContextSlot), R(1), U8(9), R(11), 468 B(LdrContextSlot), R(1), U8(9), R(11),
469 B(LdaSmi), U8(1), 469 B(LdaSmi), U8(1),
470 B(TestEqualStrict), R(11), 470 B(TestEqualStrict), R(11), U8(19),
471 B(JumpIfFalse), U8(71), 471 B(JumpIfFalse), U8(72),
472 B(LdaContextSlot), R(1), U8(11), 472 B(LdaContextSlot), R(1), U8(11),
473 B(TypeOf), 473 B(TypeOf),
474 B(Star), R(11), 474 B(Star), R(11),
475 B(LdaConstant), U8(13), 475 B(LdaConstant), U8(13),
476 B(TestEqualStrict), R(11), 476 B(TestEqualStrict), R(11), U8(20),
477 B(JumpIfFalse), U8(4), 477 B(JumpIfFalse), U8(4),
478 B(Jump), U8(18), 478 B(Jump), U8(18),
479 B(Wide), B(LdaSmi), U16(129), 479 B(Wide), B(LdaSmi), U16(129),
480 B(Star), R(11), 480 B(Star), R(11),
481 B(LdaConstant), U8(14), 481 B(LdaConstant), U8(14),
482 B(Star), R(12), 482 B(Star), R(12),
483 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2), 483 B(CallRuntime), U16(Runtime::kNewTypeError), R(11), U8(2),
484 B(Throw), 484 B(Throw),
485 B(Mov), R(context), R(11), 485 B(Mov), R(context), R(11),
486 B(LdrContextSlot), R(1), U8(11), R(12), 486 B(LdrContextSlot), R(1), U8(11), R(12),
(...skipping 14 matching lines...) Expand all
501 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2), 501 B(InvokeIntrinsic), U8(Runtime::k_Call), R(11), U8(2),
502 B(StaContextSlot), R(1), U8(12), 502 B(StaContextSlot), R(1), U8(12),
503 B(LdrContextSlot), R(1), U8(12), R(11), 503 B(LdrContextSlot), R(1), U8(12), R(11),
504 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1), 504 B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(11), U8(1),
505 B(JumpIfToBooleanFalse), U8(4), 505 B(JumpIfToBooleanFalse), U8(4),
506 B(Jump), U8(11), 506 B(Jump), U8(11),
507 B(LdrContextSlot), R(1), U8(12), R(11), 507 B(LdrContextSlot), R(1), U8(12), R(11),
508 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1), 508 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1),
509 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(1 0), U8(1), 509 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(1 0), U8(1),
510 B(LdaZero), 510 B(LdaZero),
511 B(TestEqualStrict), R(8), 511 B(TestEqualStrict), R(8), U8(0),
512 B(JumpIfTrue), U8(10), 512 B(JumpIfTrue), U8(11),
513 B(LdaSmi), U8(1), 513 B(LdaSmi), U8(1),
514 B(TestEqualStrict), R(8), 514 B(TestEqualStrict), R(8), U8(0),
515 B(JumpIfTrue), U8(17), 515 B(JumpIfTrue), U8(17),
516 B(Jump), U8(28), 516 B(Jump), U8(28),
517 B(PopContext), R(1), 517 B(PopContext), R(1),
518 B(PopContext), R(1), 518 B(PopContext), R(1),
519 B(LdaSmi), U8(1), 519 B(LdaSmi), U8(1),
520 B(Star), R(5), 520 B(Star), R(5),
521 B(Mov), R(9), R(6), 521 B(Mov), R(9), R(6),
522 B(Jump), U8(47), 522 B(Jump), U8(47),
523 B(PopContext), R(1), 523 B(PopContext), R(1),
524 B(PopContext), R(1), 524 B(PopContext), R(1),
(...skipping 15 matching lines...) Expand all
540 B(Jump), U8(8), 540 B(Jump), U8(8),
541 B(Star), R(6), 541 B(Star), R(6),
542 B(LdaSmi), U8(4), 542 B(LdaSmi), U8(4),
543 B(Star), R(5), 543 B(Star), R(5),
544 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 544 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
545 B(Star), R(7), 545 B(Star), R(7),
546 B(LdrContextSlot), R(context), U8(5), R(8), 546 B(LdrContextSlot), R(context), U8(5), R(8),
547 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1), 547 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(8), U8(1),
548 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(7 ), U8(1), 548 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(7 ), U8(1),
549 B(LdaZero), 549 B(LdaZero),
550 B(TestEqualStrict), R(5), 550 B(TestEqualStrict), R(5), U8(0),
551 B(JumpIfTrue), U8(32),
552 B(LdaSmi), U8(1),
553 B(TestEqualStrict), R(5), U8(0),
551 B(JumpIfTrue), U8(28), 554 B(JumpIfTrue), U8(28),
552 B(LdaSmi), U8(1),
553 B(TestEqualStrict), R(5),
554 B(JumpIfTrue), U8(25),
555 B(LdaSmi), U8(2), 555 B(LdaSmi), U8(2),
556 B(TestEqualStrict), R(5), 556 B(TestEqualStrict), R(5), U8(0),
557 B(JumpIfTrue), U8(22), 557 B(JumpIfTrue), U8(24),
558 B(LdaSmi), U8(3), 558 B(LdaSmi), U8(3),
559 B(TestEqualStrict), R(5), 559 B(TestEqualStrict), R(5), U8(0),
560 B(JumpIfTrue), U8(19), 560 B(JumpIfTrue), U8(20),
561 B(LdaSmi), U8(4), 561 B(LdaSmi), U8(4),
562 B(TestEqualStrict), R(5), 562 B(TestEqualStrict), R(5), U8(0),
563 B(JumpIfTrue), U8(16), 563 B(JumpIfTrue), U8(16),
564 B(Jump), U8(17), 564 B(Jump), U8(17),
565 B(Ldar), R(6), 565 B(Ldar), R(6),
566 /* 44 S> */ B(Return), 566 /* 44 S> */ B(Return),
567 B(Ldar), R(6), 567 B(Ldar), R(6),
568 /* 44 S> */ B(Return), 568 /* 44 S> */ B(Return),
569 B(Ldar), R(6), 569 B(Ldar), R(6),
570 B(ReThrow), 570 B(ReThrow),
571 B(Ldar), R(6), 571 B(Ldar), R(6),
572 /* 44 S> */ B(Return), 572 /* 44 S> */ B(Return),
(...skipping 16 matching lines...) Expand all
589 kInstanceTypeDontCare, 589 kInstanceTypeDontCare,
590 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 590 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
591 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 591 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
592 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 592 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
593 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 593 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
594 kInstanceTypeDontCare, 594 kInstanceTypeDontCare,
595 kInstanceTypeDontCare, 595 kInstanceTypeDontCare,
596 kInstanceTypeDontCare, 596 kInstanceTypeDontCare,
597 ] 597 ]
598 handlers: [ 598 handlers: [
599 [45, 661, 667], 599 [47, 677, 683],
600 [143, 423, 429], 600 [147, 432, 438],
601 [146, 384, 386], 601 [150, 392, 394],
602 [525, 537, 539], 602 [539, 551, 553],
603 ] 603 ]
604 604
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698