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/ArrayLiterals.golden

Issue 2263253002: [interpreter] Make the binary op with Smi bytecode handlers collect type feedback. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Update. Created 4 years, 4 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 ---
(...skipping 13 matching lines...) Expand all
24 ] 24 ]
25 handlers: [ 25 handlers: [
26 ] 26 ]
27 27
28 --- 28 ---
29 snippet: " 29 snippet: "
30 var a = 1; return [ a, a + 1 ]; 30 var a = 1; return [ a, a + 1 ];
31 " 31 "
32 frame size: 3 32 frame size: 3
33 parameter count: 1 33 parameter count: 1
34 bytecode array length: 34 34 bytecode array length: 35
35 bytecodes: [ 35 bytecodes: [
36 /* 30 E> */ B(StackCheck), 36 /* 30 E> */ B(StackCheck),
37 /* 42 S> */ B(LdaSmi), U8(1), 37 /* 42 S> */ B(LdaSmi), U8(1),
38 B(Star), R(0), 38 B(Star), R(0),
39 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), 39 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
40 B(Star), R(2), 40 B(Star), R(2),
41 B(LdaZero), 41 B(LdaZero),
42 B(Star), R(1), 42 B(Star), R(1),
43 B(Ldar), R(0), 43 B(Ldar), R(0),
44 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(2), 44 /* 54 E> */ B(StaKeyedPropertySloppy), R(2), R(1), U8(2),
45 B(LdaSmi), U8(1), 45 B(LdaSmi), U8(1),
46 B(Star), R(1), 46 B(Star), R(1),
47 /* 57 E> */ B(AddSmi), U8(1), R(0), 47 /* 57 E> */ B(AddSmi), U8(1), R(0), U8(1),
48 B(StaKeyedPropertySloppy), R(2), R(1), U8(2), 48 B(StaKeyedPropertySloppy), R(2), R(1), U8(2),
49 B(Ldar), R(2), 49 B(Ldar), R(2),
50 /* 66 S> */ B(Return), 50 /* 66 S> */ B(Return),
51 ] 51 ]
52 constant pool: [ 52 constant pool: [
53 InstanceType::FIXED_ARRAY_TYPE, 53 InstanceType::FIXED_ARRAY_TYPE,
54 ] 54 ]
55 handlers: [ 55 handlers: [
56 ] 56 ]
57 57
(...skipping 14 matching lines...) Expand all
72 ] 72 ]
73 handlers: [ 73 handlers: [
74 ] 74 ]
75 75
76 --- 76 ---
77 snippet: " 77 snippet: "
78 var a = 1; return [ [ a, 2 ], [ a + 2 ] ]; 78 var a = 1; return [ [ a, 2 ], [ a + 2 ] ];
79 " 79 "
80 frame size: 5 80 frame size: 5
81 parameter count: 1 81 parameter count: 1
82 bytecode array length: 64 82 bytecode array length: 65
83 bytecodes: [ 83 bytecodes: [
84 /* 30 E> */ B(StackCheck), 84 /* 30 E> */ B(StackCheck),
85 /* 42 S> */ B(LdaSmi), U8(1), 85 /* 42 S> */ B(LdaSmi), U8(1),
86 B(Star), R(0), 86 B(Star), R(0),
87 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2), 87 /* 45 S> */ B(CreateArrayLiteral), U8(0), U8(2), U8(2),
88 B(Star), R(2), 88 B(Star), R(2),
89 B(LdaZero), 89 B(LdaZero),
90 B(Star), R(1), 90 B(Star), R(1),
91 B(CreateArrayLiteral), U8(1), U8(0), U8(3), 91 B(CreateArrayLiteral), U8(1), U8(0), U8(3),
92 B(Star), R(4), 92 B(Star), R(4),
93 B(LdaZero), 93 B(LdaZero),
94 B(Star), R(3), 94 B(Star), R(3),
95 B(Ldar), R(0), 95 B(Ldar), R(0),
96 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(1), 96 /* 56 E> */ B(StaKeyedPropertySloppy), R(4), R(3), U8(1),
97 B(Ldar), R(4), 97 B(Ldar), R(4),
98 B(StaKeyedPropertySloppy), R(2), R(1), U8(6), 98 B(StaKeyedPropertySloppy), R(2), R(1), U8(6),
99 B(LdaSmi), U8(1), 99 B(LdaSmi), U8(1),
100 B(Star), R(1), 100 B(Star), R(1),
101 B(CreateArrayLiteral), U8(2), U8(1), U8(3), 101 B(CreateArrayLiteral), U8(2), U8(1), U8(3),
102 B(Star), R(4), 102 B(Star), R(4),
103 B(LdaZero), 103 B(LdaZero),
104 B(Star), R(3), 104 B(Star), R(3),
105 /* 66 E> */ B(AddSmi), U8(2), R(0), 105 /* 66 E> */ B(AddSmi), U8(2), R(0), U8(3),
106 B(StaKeyedPropertySloppy), R(4), R(3), U8(4), 106 B(StaKeyedPropertySloppy), R(4), R(3), U8(4),
107 B(Ldar), R(4), 107 B(Ldar), R(4),
108 B(StaKeyedPropertySloppy), R(2), R(1), U8(6), 108 B(StaKeyedPropertySloppy), R(2), R(1), U8(6),
109 B(Ldar), R(2), 109 B(Ldar), R(2),
110 /* 77 S> */ B(Return), 110 /* 77 S> */ B(Return),
111 ] 111 ]
112 constant pool: [ 112 constant pool: [
113 InstanceType::FIXED_ARRAY_TYPE, 113 InstanceType::FIXED_ARRAY_TYPE,
114 InstanceType::FIXED_ARRAY_TYPE, 114 InstanceType::FIXED_ARRAY_TYPE,
115 InstanceType::FIXED_ARRAY_TYPE, 115 InstanceType::FIXED_ARRAY_TYPE,
116 ] 116 ]
117 handlers: [ 117 handlers: [
118 ] 118 ]
119 119
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698