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

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

Issue 1979523002: [interpreter] Remove BytecodeArrayBuilder::Illegal(). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/interpreter/bytecode-peephole-optimizer.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ignition generators: yes 10 ignition generators: yes
11 11
12 --- 12 ---
13 snippet: " 13 snippet: "
14 function* f() { } 14 function* f() { }
15 " 15 "
16 frame size: 11 16 frame size: 11
17 parameter count: 1 17 parameter count: 1
18 bytecode array length: 195 18 bytecode array length: 203
19 bytecodes: [ 19 bytecodes: [
20 B(Ldar), R(new_target), 20 B(Ldar), R(new_target),
21 B(JumpIfUndefined), U8(12), 21 B(JumpIfUndefined), U8(20),
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),
26 B(JumpIfTrue), U8(49), 26 B(JumpIfTrue), U8(57),
27 B(Illegal), 27 B(LdaSmi), U8(80),
28 B(Star), R(2),
29 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
28 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 30 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
29 B(PushContext), R(0), 31 B(PushContext), R(0),
30 B(Ldar), R(this), 32 B(Ldar), R(this),
31 B(StaContextSlot), R(context), U8(4), 33 B(StaContextSlot), R(context), U8(4),
32 /* 11 E> */ B(StackCheck), 34 /* 11 E> */ B(StackCheck),
33 B(Mov), R(context), R(4), 35 B(Mov), R(context), R(4),
34 B(Ldar), R(closure), 36 B(Ldar), R(closure),
35 B(Star), R(5), 37 B(Star), R(5),
36 B(LdaContextSlot), R(context), U8(4), 38 B(LdaContextSlot), R(context), U8(4),
37 B(Star), R(6), 39 B(Star), R(6),
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 B(Ldar), R(3), 105 B(Ldar), R(3),
104 /* 16 S> */ B(Return), 106 /* 16 S> */ B(Return),
105 B(Ldar), R(3), 107 B(Ldar), R(3),
106 B(ReThrow), 108 B(ReThrow),
107 B(LdaUndefined), 109 B(LdaUndefined),
108 /* 16 S> */ B(Return), 110 /* 16 S> */ B(Return),
109 ] 111 ]
110 constant pool: [ 112 constant pool: [
111 ] 113 ]
112 handlers: [ 114 handlers: [
113 [30, 131, 137], 115 [38, 139, 145],
114 ] 116 ]
115 117
116 --- 118 ---
117 snippet: " 119 snippet: "
118 function* f() { yield 42 } 120 function* f() { yield 42 }
119 " 121 "
120 frame size: 11 122 frame size: 11
121 parameter count: 1 123 parameter count: 1
122 bytecode array length: 289 124 bytecode array length: 297
123 bytecodes: [ 125 bytecodes: [
124 B(Ldar), R(new_target), 126 B(Ldar), R(new_target),
125 B(JumpIfUndefined), U8(18), 127 B(JumpIfUndefined), U8(26),
126 B(ResumeGenerator), R(new_target), 128 B(ResumeGenerator), R(new_target),
127 B(Star), R(1), 129 B(Star), R(1),
128 B(LdaZero), 130 B(LdaZero),
129 B(TestEqualStrict), R(1), 131 B(TestEqualStrict), R(1),
130 B(JumpIfTrue), U8(55), 132 B(JumpIfTrue), U8(63),
131 B(LdaSmi), U8(1), 133 B(LdaSmi), U8(1),
132 B(TestEqualStrict), R(1), 134 B(TestEqualStrict), R(1),
133 B(JumpIfTrue), U8(127), 135 B(JumpIfTrueConstant), U8(0),
134 B(Illegal), 136 B(LdaSmi), U8(80),
137 B(Star), R(2),
138 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
135 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 139 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
136 B(PushContext), R(0), 140 B(PushContext), R(0),
137 B(Ldar), R(this), 141 B(Ldar), R(this),
138 B(StaContextSlot), R(context), U8(4), 142 B(StaContextSlot), R(context), U8(4),
139 /* 11 E> */ B(StackCheck), 143 /* 11 E> */ B(StackCheck),
140 B(Mov), R(context), R(4), 144 B(Mov), R(context), R(4),
141 B(Ldar), R(closure), 145 B(Ldar), R(closure),
142 B(Star), R(5), 146 B(Star), R(5),
143 B(LdaContextSlot), R(context), U8(4), 147 B(LdaContextSlot), R(context), U8(4),
144 B(Star), R(6), 148 B(Star), R(6),
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 B(Ldar), R(3), 252 B(Ldar), R(3),
249 /* 25 S> */ B(Return), 253 /* 25 S> */ B(Return),
250 B(Ldar), R(3), 254 B(Ldar), R(3),
251 /* 25 S> */ B(Return), 255 /* 25 S> */ B(Return),
252 B(Ldar), R(3), 256 B(Ldar), R(3),
253 B(ReThrow), 257 B(ReThrow),
254 B(LdaUndefined), 258 B(LdaUndefined),
255 /* 25 S> */ B(Return), 259 /* 25 S> */ B(Return),
256 ] 260 ]
257 constant pool: [ 261 constant pool: [
262 kInstanceTypeDontCare,
258 ] 263 ]
259 handlers: [ 264 handlers: [
260 [36, 216, 222], 265 [44, 224, 230],
261 ] 266 ]
262 267
263 --- 268 ---
264 snippet: " 269 snippet: "
265 function* f() { for (let x of [42]) yield x } 270 function* f() { for (let x of [42]) yield x }
266 " 271 "
267 frame size: 17 272 frame size: 17
268 parameter count: 1 273 parameter count: 1
269 bytecode array length: 792 274 bytecode array length: 808
270 bytecodes: [ 275 bytecodes: [
271 B(Ldar), R(new_target), 276 B(Ldar), R(new_target),
272 B(JumpIfUndefined), U8(18), 277 B(JumpIfUndefined), U8(26),
273 B(ResumeGenerator), R(new_target), 278 B(ResumeGenerator), R(new_target),
274 B(Star), R(3), 279 B(Star), R(3),
275 B(LdaZero), 280 B(LdaZero),
276 B(TestEqualStrict), R(3), 281 B(TestEqualStrict), R(3),
277 B(JumpIfTrue), U8(55), 282 B(JumpIfTrue), U8(63),
278 B(LdaSmi), U8(1), 283 B(LdaSmi), U8(1),
279 B(TestEqualStrict), R(3), 284 B(TestEqualStrict), R(3),
280 B(JumpIfTrueConstant), U8(3), 285 B(JumpIfTrueConstant), U8(3),
281 B(Illegal), 286 B(LdaSmi), U8(80),
287 B(Star), R(4),
288 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
282 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 289 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
283 B(PushContext), R(0), 290 B(PushContext), R(0),
284 B(Ldar), R(this), 291 B(Ldar), R(this),
285 B(StaContextSlot), R(context), U8(4), 292 B(StaContextSlot), R(context), U8(4),
286 /* 11 E> */ B(StackCheck), 293 /* 11 E> */ B(StackCheck),
287 B(Mov), R(context), R(6), 294 B(Mov), R(context), R(6),
288 B(Ldar), R(closure), 295 B(Ldar), R(closure),
289 B(Star), R(7), 296 B(Star), R(7),
290 B(LdaContextSlot), R(context), U8(4), 297 B(LdaContextSlot), R(context), U8(4),
291 B(Star), R(8), 298 B(Star), R(8),
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 B(Mov), R(context), R(10), 344 B(Mov), R(context), R(10),
338 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(3), 345 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(3),
339 B(Star), R(12), 346 B(Star), R(12),
340 /* 30 E> */ B(LdaConstant), U8(2), 347 /* 30 E> */ B(LdaConstant), U8(2),
341 B(KeyedLoadIC), R(12), U8(3), 348 B(KeyedLoadIC), R(12), U8(3),
342 B(Star), R(11), 349 B(Star), R(11),
343 /* 30 E> */ B(Call), R(11), R(12), U8(1), U8(1), 350 /* 30 E> */ B(Call), R(11), R(12), U8(1), U8(1),
344 /* 30 E> */ B(StaContextSlot), R(1), U8(7), 351 /* 30 E> */ B(StaContextSlot), R(1), U8(7),
345 B(LdaSmi), U8(-2), 352 B(LdaSmi), U8(-2),
346 B(TestEqual), R(3), 353 B(TestEqual), R(3),
347 B(JumpIfTrue), U8(9), 354 B(JumpIfTrue), U8(17),
348 B(LdaSmi), U8(1), 355 B(LdaSmi), U8(1),
349 B(TestEqualStrict), R(3), 356 B(TestEqualStrict), R(3),
350 B(JumpIfTrueConstant), U8(9), 357 B(JumpIfTrueConstant), U8(9),
351 B(Illegal), 358 B(LdaSmi), U8(80),
359 B(Star), R(11),
360 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1),
352 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), 361 /* 27 S> */ B(LdaContextSlot), R(1), U8(7),
353 B(Star), R(13), 362 B(Star), R(13),
354 B(LoadIC), R(13), U8(4), U8(7), 363 B(LoadIC), R(13), U8(4), U8(7),
355 B(Star), R(12), 364 B(Star), R(12),
356 /* 27 E> */ B(Call), R(12), R(13), U8(1), U8(5), 365 /* 27 E> */ B(Call), R(12), R(13), U8(1), U8(5),
357 /* 27 E> */ B(StaContextSlot), R(1), U8(8), 366 /* 27 E> */ B(StaContextSlot), R(1), U8(8),
358 B(Star), R(11), 367 B(Star), R(11),
359 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1), 368 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1),
360 B(LogicalNot), 369 B(LogicalNot),
361 B(JumpIfFalse), U8(12), 370 B(JumpIfFalse), U8(12),
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 B(Star), R(8), 436 B(Star), R(8),
428 B(LdaZero), 437 B(LdaZero),
429 B(Star), R(7), 438 B(Star), R(7),
430 B(Jump), U8(78), 439 B(Jump), U8(78),
431 B(Ldar), R(12), 440 B(Ldar), R(12),
432 B(Throw), 441 B(Throw),
433 B(Ldar), R(12), 442 B(Ldar), R(12),
434 B(PopContext), R(2), 443 B(PopContext), R(2),
435 B(LdaZero), 444 B(LdaZero),
436 B(StaContextSlot), R(1), U8(9), 445 B(StaContextSlot), R(1), U8(9),
437 B(Wide), B(Jump), U16(-222), 446 B(Wide), B(Jump), U16(-230),
438 B(Jump), U8(49), 447 B(Jump), U8(49),
439 B(Star), R(12), 448 B(Star), R(12),
440 B(LdaConstant), U8(11), 449 B(LdaConstant), U8(11),
441 B(Star), R(11), 450 B(Star), R(11),
442 B(Ldar), R(closure), 451 B(Ldar), R(closure),
443 B(Star), R(13), 452 B(Star), R(13),
444 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3), 453 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3),
445 B(Star), R(10), 454 B(Star), R(10),
446 B(PushContext), R(2), 455 B(PushContext), R(2),
447 B(LdaContextSlot), R(1), U8(9), 456 B(LdaContextSlot), R(1), U8(9),
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 kInstanceTypeDontCare, 631 kInstanceTypeDontCare,
623 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 632 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
624 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 633 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
625 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 634 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
626 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 635 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
627 kInstanceTypeDontCare, 636 kInstanceTypeDontCare,
628 kInstanceTypeDontCare, 637 kInstanceTypeDontCare,
629 kInstanceTypeDontCare, 638 kInstanceTypeDontCare,
630 ] 639 ]
631 handlers: [ 640 handlers: [
632 [36, 710, 716], 641 [44, 726, 732],
633 [148, 446, 452], 642 [156, 462, 468],
634 [151, 397, 399], 643 [159, 413, 415],
635 [554, 569, 571], 644 [570, 585, 587],
636 ] 645 ]
637 646
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-peephole-optimizer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698