Chromium Code Reviews

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

Issue 2450243002: [ignition] Add a property call bytecode (Closed)
Patch Set: Fix tests Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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: 279 14 bytecode array length: 279
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(LdrKeyedProperty), R(14), U8(4), R(13), 24 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(4), R(13),
25 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(2), 25 /* 48 E> */ B(CallProperty), R(13), R(14), U8(1), U8(2),
26 B(Star), R(2), 26 B(Star), R(2),
27 /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(8), R(14), 27 /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(8), R(14),
28 /* 45 E> */ B(Call), R(14), R(2), U8(1), U8(6), 28 /* 45 E> */ B(CallProperty), R(14), R(2), U8(1), U8(6),
29 B(Star), R(3), 29 B(Star), R(3),
30 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), 30 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1),
31 B(ToBooleanLogicalNot), 31 B(ToBooleanLogicalNot),
32 B(JumpIfFalse), U8(7), 32 B(JumpIfFalse), U8(7),
33 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (3), U8(1), 33 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (3), U8(1),
34 B(LdaNamedProperty), R(3), U8(3), U8(10), 34 B(LdaNamedProperty), R(3), U8(3), U8(10),
35 B(JumpIfToBooleanTrue), U8(24), 35 B(JumpIfToBooleanTrue), U8(24),
36 B(LdrNamedProperty), R(3), U8(4), U8(12), R(5), 36 B(LdrNamedProperty), R(3), U8(4), U8(12), R(5),
37 B(LdaSmi), U8(2), 37 B(LdaSmi), U8(2),
38 B(Star), R(4), 38 B(Star), R(4),
(...skipping 114 matching lines...)
153 bytecodes: [ 153 bytecodes: [
154 /* 30 E> */ B(StackCheck), 154 /* 30 E> */ B(StackCheck),
155 /* 42 S> */ B(LdaConstant), U8(0), 155 /* 42 S> */ B(LdaConstant), U8(0),
156 B(Star), R(0), 156 B(Star), R(0),
157 B(LdaZero), 157 B(LdaZero),
158 B(Star), R(5), 158 B(Star), R(5),
159 B(Mov), R(context), R(12), 159 B(Mov), R(context), R(12),
160 B(Mov), R(context), R(13), 160 B(Mov), R(context), R(13),
161 /* 68 S> */ B(LdaConstant), U8(1), 161 /* 68 S> */ B(LdaConstant), U8(1),
162 /* 68 E> */ B(LdrKeyedProperty), R(0), U8(4), R(14), 162 /* 68 E> */ B(LdrKeyedProperty), R(0), U8(4), R(14),
163 /* 68 E> */ B(Call), R(14), R(0), U8(1), U8(2), 163 /* 68 E> */ B(CallProperty), R(14), R(0), U8(1), U8(2),
164 B(Star), R(3), 164 B(Star), R(3),
165 /* 65 S> */ B(LdrNamedProperty), R(3), U8(2), U8(8), R(15), 165 /* 65 S> */ B(LdrNamedProperty), R(3), U8(2), U8(8), R(15),
166 /* 65 E> */ B(Call), R(15), R(3), U8(1), U8(6), 166 /* 65 E> */ B(CallProperty), R(15), R(3), U8(1), U8(6),
167 B(Star), R(4), 167 B(Star), R(4),
168 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1), 168 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(4), U8(1),
169 B(ToBooleanLogicalNot), 169 B(ToBooleanLogicalNot),
170 B(JumpIfFalse), U8(7), 170 B(JumpIfFalse), U8(7),
171 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (4), U8(1), 171 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (4), U8(1),
172 B(LdaNamedProperty), R(4), U8(3), U8(10), 172 B(LdaNamedProperty), R(4), U8(3), U8(10),
173 B(JumpIfToBooleanTrue), U8(26), 173 B(JumpIfToBooleanTrue), U8(26),
174 B(LdrNamedProperty), R(4), U8(4), U8(12), R(6), 174 B(LdrNamedProperty), R(4), U8(4), U8(12), R(6),
175 B(LdaSmi), U8(2), 175 B(LdaSmi), U8(2),
176 B(Star), R(5), 176 B(Star), R(5),
(...skipping 122 matching lines...)
299 bytecodes: [ 299 bytecodes: [
300 /* 30 E> */ B(StackCheck), 300 /* 30 E> */ B(StackCheck),
301 B(LdaZero), 301 B(LdaZero),
302 B(Star), R(4), 302 B(Star), R(4),
303 B(Mov), R(context), R(11), 303 B(Mov), R(context), R(11),
304 B(Mov), R(context), R(12), 304 B(Mov), R(context), R(12),
305 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9), 305 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9),
306 B(Star), R(14), 306 B(Star), R(14),
307 B(LdaConstant), U8(1), 307 B(LdaConstant), U8(1),
308 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(4), R(13), 308 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(4), R(13),
309 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(2), 309 /* 48 E> */ B(CallProperty), R(13), R(14), U8(1), U8(2),
310 B(Star), R(2), 310 B(Star), R(2),
311 /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(8), R(14), 311 /* 45 S> */ B(LdrNamedProperty), R(2), U8(2), U8(8), R(14),
312 /* 45 E> */ B(Call), R(14), R(2), U8(1), U8(6), 312 /* 45 E> */ B(CallProperty), R(14), R(2), U8(1), U8(6),
313 B(Star), R(3), 313 B(Star), R(3),
314 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1), 314 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(3), U8(1),
315 B(ToBooleanLogicalNot), 315 B(ToBooleanLogicalNot),
316 B(JumpIfFalse), U8(7), 316 B(JumpIfFalse), U8(7),
317 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (3), U8(1), 317 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (3), U8(1),
318 B(LdaNamedProperty), R(3), U8(3), U8(10), 318 B(LdaNamedProperty), R(3), U8(3), U8(10),
319 B(JumpIfToBooleanTrue), U8(42), 319 B(JumpIfToBooleanTrue), U8(42),
320 B(LdrNamedProperty), R(3), U8(4), U8(12), R(5), 320 B(LdrNamedProperty), R(3), U8(4), U8(12), R(5),
321 B(LdaSmi), U8(2), 321 B(LdaSmi), U8(2),
322 B(Star), R(4), 322 B(Star), R(4),
(...skipping 124 matching lines...)
447 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8), 447 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(8),
448 B(Mov), R(8), R(0), 448 B(Mov), R(8), R(0),
449 B(LdaZero), 449 B(LdaZero),
450 B(Star), R(3), 450 B(Star), R(3),
451 B(Mov), R(context), R(10), 451 B(Mov), R(context), R(10),
452 B(Mov), R(context), R(11), 452 B(Mov), R(context), R(11),
453 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9), 453 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(9),
454 B(Star), R(13), 454 B(Star), R(13),
455 B(LdaConstant), U8(2), 455 B(LdaConstant), U8(2),
456 /* 77 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12), 456 /* 77 E> */ B(LdrKeyedProperty), R(13), U8(4), R(12),
457 /* 77 E> */ B(Call), R(12), R(13), U8(1), U8(2), 457 /* 77 E> */ B(CallProperty), R(12), R(13), U8(1), U8(2),
458 B(Star), R(1), 458 B(Star), R(1),
459 /* 74 S> */ B(LdrNamedProperty), R(1), U8(3), U8(8), R(13), 459 /* 74 S> */ B(LdrNamedProperty), R(1), U8(3), U8(8), R(13),
460 /* 74 E> */ B(Call), R(13), R(1), U8(1), U8(6), 460 /* 74 E> */ B(CallProperty), R(13), R(1), U8(1), U8(6),
461 B(Star), R(2), 461 B(Star), R(2),
462 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), 462 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1),
463 B(ToBooleanLogicalNot), 463 B(ToBooleanLogicalNot),
464 B(JumpIfFalse), U8(7), 464 B(JumpIfFalse), U8(7),
465 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (2), U8(1), 465 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (2), U8(1),
466 B(LdaNamedProperty), R(2), U8(4), U8(10), 466 B(LdaNamedProperty), R(2), U8(4), U8(10),
467 B(JumpIfToBooleanTrue), U8(29), 467 B(JumpIfToBooleanTrue), U8(29),
468 /* 67 E> */ B(LdrNamedProperty), R(2), U8(5), U8(12), R(4), 468 /* 67 E> */ B(LdrNamedProperty), R(2), U8(5), U8(12), R(4),
469 B(LdaSmi), U8(2), 469 B(LdaSmi), U8(2),
470 B(Star), R(3), 470 B(Star), R(3),
(...skipping 105 matching lines...)
576 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"], 576 ONE_BYTE_INTERNALIZED_STRING_TYPE ["function"],
577 ONE_BYTE_INTERNALIZED_STRING_TYPE [""], 577 ONE_BYTE_INTERNALIZED_STRING_TYPE [""],
578 FIXED_ARRAY_TYPE, 578 FIXED_ARRAY_TYPE,
579 ] 579 ]
580 handlers: [ 580 handlers: [
581 [15, 131, 137], 581 [15, 131, 137],
582 [18, 94, 96], 582 [18, 94, 96],
583 [215, 225, 227], 583 [215, 225, 227],
584 ] 584 ]
585 585
OLDNEW

Powered by Google App Engine