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

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

Issue 2578183002: Merged: [Interpreter] Allocate registers used as call arguments on-demand. (Closed)
Patch Set: Created 4 years 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: yes 6 wrap: yes
7 7
8 --- 8 ---
9 snippet: " 9 snippet: "
10 for (var p of [0, 1, 2]) {} 10 for (var p of [0, 1, 2]) {}
11 " 11 "
12 frame size: 15 12 frame size: 15
13 parameter count: 1 13 parameter count: 1
14 bytecode array length: 282 14 bytecode array length: 282
15 bytecodes: [ 15 bytecodes: [
16 /* 30 E> */ B(StackCheck), 16 /* 30 E> */ B(StackCheck),
17 B(LdaZero), 17 B(LdaZero),
18 B(Star), R(4), 18 B(Star), R(4),
19 B(Mov), R(context), R(11), 19 B(Mov), R(context), R(11),
20 B(Mov), R(context), R(12), 20 B(Mov), R(context), R(12),
21 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), 21 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9),
22 B(Star), R(14), 22 B(Star), R(14),
23 B(LdaConstant), U8(1), 23 B(LdaConstant), U8(1),
24 /* 48 E> */ B(LdaKeyedProperty), R(14), U8(4), 24 /* 48 E> */ B(LdaKeyedProperty), R(14), U8(4),
25 B(Star), R(13), 25 B(Star), R(13),
26 /* 48 E> */ B(CallProperty), R(13), R(14), U8(1), U8(2), 26 /* 48 E> */ B(CallProperty), R(13), R(14), U8(1), U8(2),
27 B(Star), R(2), 27 B(Star), R(2),
28 /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8), 28 /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8),
29 B(Star), R(14), 29 B(Star), R(13),
30 /* 45 E> */ B(CallProperty), R(14), R(2), U8(1), U8(6), 30 /* 45 E> */ B(CallProperty), R(13), R(2), U8(1), U8(6),
31 B(Star), R(3), 31 B(Star), R(3),
32 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), 32 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1),
33 B(ToBooleanLogicalNot), 33 B(ToBooleanLogicalNot),
34 B(JumpIfFalse), U8(7), 34 B(JumpIfFalse), U8(7),
35 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (3), U8(1), 35 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (3), U8(1),
36 B(LdaNamedProperty), R(3), U8(3), U8(10), 36 B(LdaNamedProperty), R(3), U8(3), U8(10),
37 B(JumpIfToBooleanTrue), U8(25), 37 B(JumpIfToBooleanTrue), U8(25),
38 B(LdaNamedProperty), R(3), U8(4), U8(12), 38 B(LdaNamedProperty), R(3), U8(4), U8(12),
39 B(Star), R(5), 39 B(Star), R(5),
40 B(LdaSmi), U8(2), 40 B(LdaSmi), U8(2),
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 B(LdaZero), 162 B(LdaZero),
163 B(Star), R(5), 163 B(Star), R(5),
164 B(Mov), R(context), R(12), 164 B(Mov), R(context), R(12),
165 B(Mov), R(context), R(13), 165 B(Mov), R(context), R(13),
166 /* 68 S> */ B(LdaConstant), U8(1), 166 /* 68 S> */ B(LdaConstant), U8(1),
167 /* 68 E> */ B(LdaKeyedProperty), R(0), U8(4), 167 /* 68 E> */ B(LdaKeyedProperty), R(0), U8(4),
168 B(Star), R(14), 168 B(Star), R(14),
169 /* 68 E> */ B(CallProperty), R(14), R(0), U8(1), U8(2), 169 /* 68 E> */ B(CallProperty), R(14), R(0), U8(1), U8(2),
170 B(Star), R(3), 170 B(Star), R(3),
171 /* 65 S> */ B(LdaNamedProperty), R(3), U8(2), U8(8), 171 /* 65 S> */ B(LdaNamedProperty), R(3), U8(2), U8(8),
172 B(Star), R(15), 172 B(Star), R(14),
173 /* 65 E> */ B(CallProperty), R(15), R(3), U8(1), U8(6), 173 /* 65 E> */ B(CallProperty), R(14), R(3), U8(1), U8(6),
174 B(Star), R(4), 174 B(Star), R(4),
175 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1), 175 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1),
176 B(ToBooleanLogicalNot), 176 B(ToBooleanLogicalNot),
177 B(JumpIfFalse), U8(7), 177 B(JumpIfFalse), U8(7),
178 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (4), U8(1), 178 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (4), U8(1),
179 B(LdaNamedProperty), R(4), U8(3), U8(10), 179 B(LdaNamedProperty), R(4), U8(3), U8(10),
180 B(JumpIfToBooleanTrue), U8(27), 180 B(JumpIfToBooleanTrue), U8(27),
181 B(LdaNamedProperty), R(4), U8(4), U8(12), 181 B(LdaNamedProperty), R(4), U8(4), U8(12),
182 B(Star), R(6), 182 B(Star), R(6),
183 B(LdaSmi), U8(2), 183 B(LdaSmi), U8(2),
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 B(Mov), R(context), R(11), 313 B(Mov), R(context), R(11),
314 B(Mov), R(context), R(12), 314 B(Mov), R(context), R(12),
315 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), 315 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9),
316 B(Star), R(14), 316 B(Star), R(14),
317 B(LdaConstant), U8(1), 317 B(LdaConstant), U8(1),
318 /* 48 E> */ B(LdaKeyedProperty), R(14), U8(4), 318 /* 48 E> */ B(LdaKeyedProperty), R(14), U8(4),
319 B(Star), R(13), 319 B(Star), R(13),
320 /* 48 E> */ B(CallProperty), R(13), R(14), U8(1), U8(2), 320 /* 48 E> */ B(CallProperty), R(13), R(14), U8(1), U8(2),
321 B(Star), R(2), 321 B(Star), R(2),
322 /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8), 322 /* 45 S> */ B(LdaNamedProperty), R(2), U8(2), U8(8),
323 B(Star), R(14), 323 B(Star), R(13),
324 /* 45 E> */ B(CallProperty), R(14), R(2), U8(1), U8(6), 324 /* 45 E> */ B(CallProperty), R(13), R(2), U8(1), U8(6),
325 B(Star), R(3), 325 B(Star), R(3),
326 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), 326 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1),
327 B(ToBooleanLogicalNot), 327 B(ToBooleanLogicalNot),
328 B(JumpIfFalse), U8(7), 328 B(JumpIfFalse), U8(7),
329 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (3), U8(1), 329 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (3), U8(1),
330 B(LdaNamedProperty), R(3), U8(3), U8(10), 330 B(LdaNamedProperty), R(3), U8(3), U8(10),
331 B(JumpIfToBooleanTrue), U8(43), 331 B(JumpIfToBooleanTrue), U8(43),
332 B(LdaNamedProperty), R(3), U8(4), U8(12), 332 B(LdaNamedProperty), R(3), U8(4), U8(12),
333 B(Star), R(5), 333 B(Star), R(5),
334 B(LdaSmi), U8(2), 334 B(LdaSmi), U8(2),
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 B(Mov), R(context), R(10), 466 B(Mov), R(context), R(10),
467 B(Mov), R(context), R(11), 467 B(Mov), R(context), R(11),
468 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9), 468 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9),
469 B(Star), R(13), 469 B(Star), R(13),
470 B(LdaConstant), U8(2), 470 B(LdaConstant), U8(2),
471 /* 77 E> */ B(LdaKeyedProperty), R(13), U8(4), 471 /* 77 E> */ B(LdaKeyedProperty), R(13), U8(4),
472 B(Star), R(12), 472 B(Star), R(12),
473 /* 77 E> */ B(CallProperty), R(12), R(13), U8(1), U8(2), 473 /* 77 E> */ B(CallProperty), R(12), R(13), U8(1), U8(2),
474 B(Star), R(1), 474 B(Star), R(1),
475 /* 74 S> */ B(LdaNamedProperty), R(1), U8(3), U8(8), 475 /* 74 S> */ B(LdaNamedProperty), R(1), U8(3), U8(8),
476 B(Star), R(13), 476 B(Star), R(12),
477 /* 74 E> */ B(CallProperty), R(13), R(1), U8(1), U8(6), 477 /* 74 E> */ B(CallProperty), R(12), R(1), U8(1), U8(6),
478 B(Star), R(2), 478 B(Star), R(2),
479 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), 479 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1),
480 B(ToBooleanLogicalNot), 480 B(ToBooleanLogicalNot),
481 B(JumpIfFalse), U8(7), 481 B(JumpIfFalse), U8(7),
482 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (2), U8(1), 482 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (2), U8(1),
483 B(LdaNamedProperty), R(2), U8(4), U8(10), 483 B(LdaNamedProperty), R(2), U8(4), U8(10),
484 B(JumpIfToBooleanTrue), U8(31), 484 B(JumpIfToBooleanTrue), U8(31),
485 /* 67 E> */ B(LdaNamedProperty), R(2), U8(5), U8(12), 485 /* 67 E> */ B(LdaNamedProperty), R(2), U8(5), U8(12),
486 B(Star), R(4), 486 B(Star), R(4),
487 B(LdaSmi), U8(2), 487 B(LdaSmi), U8(2),
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], 597 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"],
598 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 598 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
599 FIXED_ARRAY_TYPE, 599 FIXED_ARRAY_TYPE,
600 ] 600 ]
601 handlers: [ 601 handlers: [
602 [15, 134, 140], 602 [15, 134, 140],
603 [18, 98, 100], 603 [18, 98, 100],
604 [219, 229, 231], 604 [219, 229, 231],
605 ] 605 ]
606 606
OLDNEW
« no previous file with comments | « src/interpreter/bytecode-register-allocator.h ('k') | test/cctest/interpreter/bytecode_expectations/Generators.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698