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

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

Issue 1985033002: [Interpreter] Change LogicalNot to ToBooleanLogicalNot and add non-ToBoolean version. (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
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: 203 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(20), 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(57), 26 B(JumpIfTrue), U8(57),
27 B(LdaSmi), U8(75), 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(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 30 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
31 B(PushContext), R(0), 31 B(PushContext), R(0),
32 B(Ldar), R(this), 32 B(Ldar), R(this),
33 B(StaContextSlot), R(context), U8(4), 33 B(StaContextSlot), R(context), U8(4),
34 /* 11 E> */ B(StackCheck), 34 /* 11 E> */ B(StackCheck),
35 B(Mov), R(context), R(4), 35 B(Mov), R(context), R(4),
36 B(Ldar), R(closure), 36 B(Ldar), R(closure),
37 B(Star), R(5), 37 B(Star), R(5),
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 B(Ldar), R(new_target), 126 B(Ldar), R(new_target),
127 B(JumpIfUndefined), U8(26), 127 B(JumpIfUndefined), U8(26),
128 B(ResumeGenerator), R(new_target), 128 B(ResumeGenerator), R(new_target),
129 B(Star), R(1), 129 B(Star), R(1),
130 B(LdaZero), 130 B(LdaZero),
131 B(TestEqualStrict), R(1), 131 B(TestEqualStrict), R(1),
132 B(JumpIfTrue), U8(63), 132 B(JumpIfTrue), U8(63),
133 B(LdaSmi), U8(1), 133 B(LdaSmi), U8(1),
134 B(TestEqualStrict), R(1), 134 B(TestEqualStrict), R(1),
135 B(JumpIfTrueConstant), U8(0), 135 B(JumpIfTrueConstant), U8(0),
136 B(LdaSmi), U8(75), 136 B(LdaSmi), U8(76),
137 B(Star), R(2), 137 B(Star), R(2),
138 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), 138 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
139 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 139 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
140 B(PushContext), R(0), 140 B(PushContext), R(0),
141 B(Ldar), R(this), 141 B(Ldar), R(this),
142 B(StaContextSlot), R(context), U8(4), 142 B(StaContextSlot), R(context), U8(4),
143 /* 11 E> */ B(StackCheck), 143 /* 11 E> */ B(StackCheck),
144 B(Mov), R(context), R(4), 144 B(Mov), R(context), R(4),
145 B(Ldar), R(closure), 145 B(Ldar), R(closure),
146 B(Star), R(5), 146 B(Star), R(5),
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 B(Ldar), R(new_target), 276 B(Ldar), R(new_target),
277 B(JumpIfUndefined), U8(26), 277 B(JumpIfUndefined), U8(26),
278 B(ResumeGenerator), R(new_target), 278 B(ResumeGenerator), R(new_target),
279 B(Star), R(3), 279 B(Star), R(3),
280 B(LdaZero), 280 B(LdaZero),
281 B(TestEqualStrict), R(3), 281 B(TestEqualStrict), R(3),
282 B(JumpIfTrue), U8(63), 282 B(JumpIfTrue), U8(63),
283 B(LdaSmi), U8(1), 283 B(LdaSmi), U8(1),
284 B(TestEqualStrict), R(3), 284 B(TestEqualStrict), R(3),
285 B(JumpIfTrueConstant), U8(3), 285 B(JumpIfTrueConstant), U8(3),
286 B(LdaSmi), U8(75), 286 B(LdaSmi), U8(76),
287 B(Star), R(4), 287 B(Star), R(4),
288 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), 288 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
289 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 289 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
290 B(PushContext), R(0), 290 B(PushContext), R(0),
291 B(Ldar), R(this), 291 B(Ldar), R(this),
292 B(StaContextSlot), R(context), U8(4), 292 B(StaContextSlot), R(context), U8(4),
293 /* 11 E> */ B(StackCheck), 293 /* 11 E> */ B(StackCheck),
294 B(Mov), R(context), R(6), 294 B(Mov), R(context), R(6),
295 B(Ldar), R(closure), 295 B(Ldar), R(closure),
296 B(Star), R(7), 296 B(Star), R(7),
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 B(KeyedLoadIC), R(12), U8(3), 348 B(KeyedLoadIC), R(12), U8(3),
349 B(Star), R(11), 349 B(Star), R(11),
350 /* 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),
351 /* 30 E> */ B(StaContextSlot), R(1), U8(7), 351 /* 30 E> */ B(StaContextSlot), R(1), U8(7),
352 B(LdaSmi), U8(-2), 352 B(LdaSmi), U8(-2),
353 B(TestEqual), R(3), 353 B(TestEqual), R(3),
354 B(JumpIfTrue), U8(17), 354 B(JumpIfTrue), U8(17),
355 B(LdaSmi), U8(1), 355 B(LdaSmi), U8(1),
356 B(TestEqualStrict), R(3), 356 B(TestEqualStrict), R(3),
357 B(JumpIfTrueConstant), U8(9), 357 B(JumpIfTrueConstant), U8(9),
358 B(LdaSmi), U8(75), 358 B(LdaSmi), U8(76),
359 B(Star), R(11), 359 B(Star), R(11),
360 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), 360 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1),
361 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), 361 /* 27 S> */ B(LdaContextSlot), R(1), U8(7),
362 B(Star), R(13), 362 B(Star), R(13),
363 B(LoadIC), R(13), U8(4), U8(7), 363 B(LoadIC), R(13), U8(4), U8(7),
364 B(Star), R(12), 364 B(Star), R(12),
365 /* 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),
366 /* 27 E> */ B(StaContextSlot), R(1), U8(8), 366 /* 27 E> */ B(StaContextSlot), R(1), U8(8),
367 B(Star), R(11), 367 B(Star), R(11),
368 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1), 368 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1),
369 B(LogicalNot), 369 B(ToBooleanLogicalNot),
370 B(JumpIfFalse), U8(12), 370 B(JumpIfFalse), U8(12),
371 B(LdaContextSlot), R(1), U8(8), 371 B(LdaContextSlot), R(1), U8(8),
372 B(Star), R(11), 372 B(Star), R(11),
373 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1), 373 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1),
374 B(LdaContextSlot), R(1), U8(8), 374 B(LdaContextSlot), R(1), U8(8),
375 B(Star), R(11), 375 B(Star), R(11),
376 B(LoadIC), R(11), U8(5), U8(9), 376 B(LoadIC), R(11), U8(5), U8(9),
377 B(JumpIfToBooleanTrueConstant), U8(10), 377 B(JumpIfToBooleanTrueConstant), U8(10),
378 B(LdaSmi), U8(2), 378 B(LdaSmi), U8(2),
379 B(StaContextSlot), R(1), U8(9), 379 B(StaContextSlot), R(1), U8(9),
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
474 B(Star), R(9), 474 B(Star), R(9),
475 B(LdaContextSlot), R(1), U8(9), 475 B(LdaContextSlot), R(1), U8(9),
476 B(Star), R(10), 476 B(Star), R(10),
477 B(LdaZero), 477 B(LdaZero),
478 B(TestEqualStrict), R(10), 478 B(TestEqualStrict), R(10),
479 B(JumpIfTrue), U8(10), 479 B(JumpIfTrue), U8(10),
480 B(LdaContextSlot), R(1), U8(7), 480 B(LdaContextSlot), R(1), U8(7),
481 B(Star), R(10), 481 B(Star), R(10),
482 B(LdaUndefined), 482 B(LdaUndefined),
483 B(TestEqualStrict), R(10), 483 B(TestEqualStrict), R(10),
484 B(LogicalNot), 484 B(ToBooleanLogicalNot),
485 B(JumpIfFalseConstant), U8(16), 485 B(JumpIfFalseConstant), U8(16),
486 B(LdaContextSlot), R(1), U8(7), 486 B(LdaContextSlot), R(1), U8(7),
487 B(Star), R(10), 487 B(Star), R(10),
488 B(LoadIC), R(10), U8(12), U8(13), 488 B(LoadIC), R(10), U8(12), U8(13),
489 B(StaContextSlot), R(1), U8(11), 489 B(StaContextSlot), R(1), U8(11),
490 B(LdaContextSlot), R(1), U8(11), 490 B(LdaContextSlot), R(1), U8(11),
491 B(Star), R(10), 491 B(Star), R(10),
492 B(LdaNull), 492 B(LdaNull),
493 B(TestEqual), R(10), 493 B(TestEqual), R(10),
494 B(JumpIfFalse), U8(4), 494 B(JumpIfFalse), U8(4),
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 kInstanceTypeDontCare, 637 kInstanceTypeDontCare,
638 kInstanceTypeDontCare, 638 kInstanceTypeDontCare,
639 ] 639 ]
640 handlers: [ 640 handlers: [
641 [44, 726, 732], 641 [44, 726, 732],
642 [156, 462, 468], 642 [156, 462, 468],
643 [159, 413, 415], 643 [159, 413, 415],
644 [570, 585, 587], 644 [570, 585, 587],
645 ] 645 ]
646 646
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698