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

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

Issue 2122183002: [Interpreter] Collect type feedback for calls in the bytecode handler (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixed few comments. Created 4 years, 5 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: yes 8 wrap: yes
9 9
10 --- 10 ---
11 snippet: " 11 snippet: "
12 for (var p of [0, 1, 2]) {} 12 for (var p of [0, 1, 2]) {}
13 " 13 "
14 frame size: 16 14 frame size: 16
15 parameter count: 1 15 parameter count: 1
16 bytecode array length: 284 16 bytecode array length: 284
17 bytecodes: [ 17 bytecodes: [
18 /* 30 E> */ B(StackCheck), 18 /* 30 E> */ B(StackCheck),
19 B(LdrUndefined), R(4), 19 B(LdrUndefined), R(4),
20 B(LdaZero), 20 B(LdaZero),
21 B(Star), R(3), 21 B(Star), R(3),
22 B(Mov), R(context), R(11), 22 B(Mov), R(context), R(11),
23 B(Mov), R(context), R(12), 23 B(Mov), R(context), R(12),
24 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), 24 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
25 B(Star), R(14), 25 B(Star), R(14),
26 B(LdaConstant), U8(1), 26 B(LdaConstant), U8(1),
27 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(3), R(13), 27 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(3), R(13),
28 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(1), 28 /* 48 E> */ B(CallWithFeedback), R(13), R(14), U8(1), U8(1),
29 B(Star), R(1), 29 B(Star), R(1),
30 /* 45 S> */ B(LdrNamedProperty), R(1), U8(2), U8(7), R(14), 30 /* 45 S> */ B(LdrNamedProperty), R(1), U8(2), U8(7), R(14),
31 /* 45 E> */ B(Call), R(14), R(1), U8(1), U8(5), 31 /* 45 E> */ B(CallWithFeedback), R(14), R(1), U8(1), U8(5),
32 B(Star), R(2), 32 B(Star), R(2),
33 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), 33 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1),
34 B(ToBooleanLogicalNot), 34 B(ToBooleanLogicalNot),
35 B(JumpIfFalse), U8(7), 35 B(JumpIfFalse), U8(7),
36 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (2), U8(1), 36 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (2), U8(1),
37 B(LdaNamedProperty), R(2), U8(3), U8(9), 37 B(LdaNamedProperty), R(2), U8(3), U8(9),
38 B(JumpIfToBooleanTrue), U8(22), 38 B(JumpIfToBooleanTrue), U8(22),
39 B(LdaSmi), U8(2), 39 B(LdaSmi), U8(2),
40 B(Star), R(3), 40 B(Star), R(3),
41 B(LdrNamedProperty), R(2), U8(4), U8(11), R(0), 41 B(LdrNamedProperty), R(2), U8(4), U8(11), R(0),
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 /* 30 E> */ B(StackCheck), 160 /* 30 E> */ B(StackCheck),
161 /* 42 S> */ B(LdaConstant), U8(0), 161 /* 42 S> */ B(LdaConstant), U8(0),
162 B(Star), R(7), 162 B(Star), R(7),
163 B(LdrUndefined), R(4), 163 B(LdrUndefined), R(4),
164 B(LdaZero), 164 B(LdaZero),
165 B(Star), R(3), 165 B(Star), R(3),
166 B(Mov), R(context), R(12), 166 B(Mov), R(context), R(12),
167 B(Mov), R(context), R(13), 167 B(Mov), R(context), R(13),
168 /* 68 S> */ B(LdaConstant), U8(1), 168 /* 68 S> */ B(LdaConstant), U8(1),
169 /* 68 E> */ B(LdrKeyedProperty), R(7), U8(3), R(14), 169 /* 68 E> */ B(LdrKeyedProperty), R(7), U8(3), R(14),
170 /* 68 E> */ B(Call), R(14), R(7), U8(1), U8(1), 170 /* 68 E> */ B(CallWithFeedback), R(14), R(7), U8(1), U8(1),
171 B(Star), R(1), 171 B(Star), R(1),
172 /* 65 S> */ B(LdrNamedProperty), R(1), U8(2), U8(7), R(15), 172 /* 65 S> */ B(LdrNamedProperty), R(1), U8(2), U8(7), R(15),
173 /* 65 E> */ B(Call), R(15), R(1), U8(1), U8(5), 173 /* 65 E> */ B(CallWithFeedback), R(15), R(1), U8(1), U8(5),
174 B(Star), R(2), 174 B(Star), R(2),
175 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), 175 /* 65 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), 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 (2), U8(1), 178 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (2), U8(1),
179 B(LdaNamedProperty), R(2), U8(3), U8(9), 179 B(LdaNamedProperty), R(2), U8(3), U8(9),
180 B(JumpIfToBooleanTrue), U8(27), 180 B(JumpIfToBooleanTrue), U8(27),
181 B(LdaSmi), U8(2), 181 B(LdaSmi), U8(2),
182 B(Star), R(3), 182 B(Star), R(3),
183 B(LdrNamedProperty), R(2), U8(4), U8(11), R(0), 183 B(LdrNamedProperty), R(2), U8(4), U8(11), R(0),
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 /* 30 E> */ B(StackCheck), 311 /* 30 E> */ B(StackCheck),
312 B(LdrUndefined), R(4), 312 B(LdrUndefined), R(4),
313 B(LdaZero), 313 B(LdaZero),
314 B(Star), R(3), 314 B(Star), R(3),
315 B(Mov), R(context), R(11), 315 B(Mov), R(context), R(11),
316 B(Mov), R(context), R(12), 316 B(Mov), R(context), R(12),
317 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), 317 /* 48 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
318 B(Star), R(14), 318 B(Star), R(14),
319 B(LdaConstant), U8(1), 319 B(LdaConstant), U8(1),
320 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(3), R(13), 320 /* 48 E> */ B(LdrKeyedProperty), R(14), U8(3), R(13),
321 /* 48 E> */ B(Call), R(13), R(14), U8(1), U8(1), 321 /* 48 E> */ B(CallWithFeedback), R(13), R(14), U8(1), U8(1),
322 B(Star), R(1), 322 B(Star), R(1),
323 /* 45 S> */ B(LdrNamedProperty), R(1), U8(2), U8(7), R(14), 323 /* 45 S> */ B(LdrNamedProperty), R(1), U8(2), U8(7), R(14),
324 /* 45 E> */ B(Call), R(14), R(1), U8(1), U8(5), 324 /* 45 E> */ B(CallWithFeedback), R(14), R(1), U8(1), U8(5),
325 B(Star), R(2), 325 B(Star), R(2),
326 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), U8(1), 326 /* 45 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(2), 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 (2), U8(1), 329 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (2), U8(1),
330 B(LdaNamedProperty), R(2), U8(3), U8(9), 330 B(LdaNamedProperty), R(2), U8(3), U8(9),
331 B(JumpIfToBooleanTrue), U8(38), 331 B(JumpIfToBooleanTrue), U8(38),
332 B(LdaSmi), U8(2), 332 B(LdaSmi), U8(2),
333 B(Star), R(3), 333 B(Star), R(3),
334 B(LdrNamedProperty), R(2), U8(4), U8(11), R(0), 334 B(LdrNamedProperty), R(2), U8(4), U8(11), R(0),
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 B(Star), R(6), 464 B(Star), R(6),
465 B(LdrUndefined), R(3), 465 B(LdrUndefined), R(3),
466 B(LdaZero), 466 B(LdaZero),
467 B(Star), R(2), 467 B(Star), R(2),
468 B(Mov), R(context), R(10), 468 B(Mov), R(context), R(10),
469 B(Mov), R(context), R(11), 469 B(Mov), R(context), R(11),
470 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3), 470 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3),
471 B(Star), R(13), 471 B(Star), R(13),
472 B(LdaConstant), U8(2), 472 B(LdaConstant), U8(2),
473 /* 77 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12), 473 /* 77 E> */ B(LdrKeyedProperty), R(13), U8(3), R(12),
474 /* 77 E> */ B(Call), R(12), R(13), U8(1), U8(1), 474 /* 77 E> */ B(CallWithFeedback), R(12), R(13), U8(1), U8(1),
475 B(Star), R(0), 475 B(Star), R(0),
476 /* 74 S> */ B(LdrNamedProperty), R(0), U8(3), U8(7), R(13), 476 /* 74 S> */ B(LdrNamedProperty), R(0), U8(3), U8(7), R(13),
477 /* 74 E> */ B(Call), R(13), R(0), U8(1), U8(5), 477 /* 74 E> */ B(CallWithFeedback), R(13), R(0), U8(1), U8(5),
478 B(Star), R(1), 478 B(Star), R(1),
479 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(1), U8(1), 479 /* 74 E> */ B(InvokeIntrinsic), U8(Runtime::k_IsJSReceiver), R(1), 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 (1), U8(1), 482 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (1), U8(1),
483 B(LdaNamedProperty), R(1), U8(4), U8(9), 483 B(LdaNamedProperty), R(1), U8(4), U8(9),
484 B(JumpIfToBooleanTrue), U8(28), 484 B(JumpIfToBooleanTrue), U8(28),
485 B(LdaSmi), U8(2), 485 B(LdaSmi), U8(2),
486 B(Star), R(2), 486 B(Star), R(2),
487 /* 67 E> */ B(LdaNamedProperty), R(1), U8(5), U8(11), 487 /* 67 E> */ B(LdaNamedProperty), R(1), U8(5), U8(11),
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 596 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
597 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 597 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
598 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 598 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
599 ] 599 ]
600 handlers: [ 600 handlers: [
601 [17, 136, 142], 601 [17, 136, 142],
602 [20, 95, 97], 602 [20, 95, 97],
603 [216, 226, 228], 603 [216, 226, 228],
604 ] 604 ]
605 605
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698