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

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

Issue 2337123003: [turbofan] Collect invocation counts and compute relative call frequencies. (Closed)
Patch Set: Address feedback. Created 4 years, 3 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 execute: yes 6 execute: yes
7 wrap: yes 7 wrap: yes
8 8
9 --- 9 ---
10 snippet: " 10 snippet: "
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 /* 42 S> */ B(LdaConstant), U8(0), 70 /* 42 S> */ B(LdaConstant), U8(0),
71 B(Star), R(0), 71 B(Star), R(0),
72 /* 68 S> */ B(JumpIfUndefined), U8(38), 72 /* 68 S> */ B(JumpIfUndefined), U8(38),
73 B(JumpIfNull), U8(36), 73 B(JumpIfNull), U8(36),
74 B(ToObject), R(3), 74 B(ToObject), R(3),
75 B(ForInPrepare), R(3), R(4), 75 B(ForInPrepare), R(3), R(4),
76 B(LdaZero), 76 B(LdaZero),
77 B(Star), R(7), 77 B(Star), R(7),
78 /* 63 S> */ B(ForInContinue), R(7), R(6), 78 /* 63 S> */ B(ForInContinue), R(7), R(6),
79 B(JumpIfFalse), U8(23), 79 B(JumpIfFalse), U8(23),
80 B(ForInNext), R(3), R(7), R(4), U8(1), 80 B(ForInNext), R(3), R(7), R(4), U8(2),
81 B(JumpIfUndefined), U8(9), 81 B(JumpIfUndefined), U8(9),
82 B(Star), R(1), 82 B(Star), R(1),
83 /* 54 E> */ B(StackCheck), 83 /* 54 E> */ B(StackCheck),
84 B(Star), R(2), 84 B(Star), R(2),
85 /* 73 S> */ B(Nop), 85 /* 73 S> */ B(Nop),
86 /* 85 S> */ B(Return), 86 /* 85 S> */ B(Return),
87 B(ForInStep), R(7), 87 B(ForInStep), R(7),
88 B(Star), R(7), 88 B(Star), R(7),
89 B(JumpLoop), U8(-23), U8(0), 89 B(JumpLoop), U8(-23), U8(0),
90 B(LdaUndefined), 90 B(LdaUndefined),
(...skipping 19 matching lines...) Expand all
110 B(Star), R(0), 110 B(Star), R(0),
111 /* 59 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(1), 111 /* 59 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(1),
112 B(JumpIfUndefined), U8(46), 112 B(JumpIfUndefined), U8(46),
113 B(JumpIfNull), U8(44), 113 B(JumpIfNull), U8(44),
114 B(ToObject), R(3), 114 B(ToObject), R(3),
115 B(ForInPrepare), R(3), R(4), 115 B(ForInPrepare), R(3), R(4),
116 B(LdaZero), 116 B(LdaZero),
117 B(Star), R(7), 117 B(Star), R(7),
118 /* 54 S> */ B(ForInContinue), R(7), R(6), 118 /* 54 S> */ B(ForInContinue), R(7), R(6),
119 B(JumpIfFalse), U8(31), 119 B(JumpIfFalse), U8(31),
120 B(ForInNext), R(3), R(7), R(4), U8(2), 120 B(ForInNext), R(3), R(7), R(4), U8(3),
121 B(JumpIfUndefined), U8(17), 121 B(JumpIfUndefined), U8(17),
122 B(Star), R(1), 122 B(Star), R(1),
123 /* 45 E> */ B(StackCheck), 123 /* 45 E> */ B(StackCheck),
124 B(Star), R(2), 124 B(Star), R(2),
125 /* 70 S> */ B(Ldar), R(1), 125 /* 70 S> */ B(Ldar), R(1),
126 /* 75 E> */ B(Add), R(0), U8(1), 126 /* 75 E> */ B(Add), R(0), U8(2),
127 B(Mov), R(0), R(8), 127 B(Mov), R(0), R(8),
128 B(Star), R(0), 128 B(Star), R(0),
129 /* 72 E> */ B(ForInStep), R(7), 129 /* 72 E> */ B(ForInStep), R(7),
130 B(Star), R(7), 130 B(Star), R(7),
131 B(JumpLoop), U8(-31), U8(0), 131 B(JumpLoop), U8(-31), U8(0),
132 B(LdaUndefined), 132 B(LdaUndefined),
133 /* 80 S> */ B(Return), 133 /* 80 S> */ B(Return),
134 ] 134 ]
135 constant pool: [ 135 constant pool: [
136 FIXED_ARRAY_TYPE, 136 FIXED_ARRAY_TYPE,
(...skipping 18 matching lines...) Expand all
155 B(Mov), R(1), R(0), 155 B(Mov), R(1), R(0),
156 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(1), 156 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(1),
157 B(JumpIfUndefined), U8(68), 157 B(JumpIfUndefined), U8(68),
158 B(JumpIfNull), U8(66), 158 B(JumpIfNull), U8(66),
159 B(ToObject), R(1), 159 B(ToObject), R(1),
160 B(ForInPrepare), R(1), R(2), 160 B(ForInPrepare), R(1), R(2),
161 B(LdaZero), 161 B(LdaZero),
162 B(Star), R(5), 162 B(Star), R(5),
163 /* 68 S> */ B(ForInContinue), R(5), R(4), 163 /* 68 S> */ B(ForInContinue), R(5), R(4),
164 B(JumpIfFalse), U8(53), 164 B(JumpIfFalse), U8(53),
165 B(ForInNext), R(1), R(5), R(2), U8(11), 165 B(ForInNext), R(1), R(5), R(2), U8(12),
166 B(JumpIfUndefined), U8(39), 166 B(JumpIfUndefined), U8(39),
167 B(Star), R(6), 167 B(Star), R(6),
168 /* 67 E> */ B(StaNamedPropertySloppy), R(0), U8(2), U8(9), 168 /* 67 E> */ B(StaNamedPropertySloppy), R(0), U8(2), U8(10),
169 /* 62 E> */ B(StackCheck), 169 /* 62 E> */ B(StackCheck),
170 /* 95 S> */ B(Nop), 170 /* 95 S> */ B(Nop),
171 /* 100 E> */ B(LdrNamedProperty), R(0), U8(2), U8(3), R(7), 171 /* 100 E> */ B(LdrNamedProperty), R(0), U8(2), U8(4), R(7),
172 B(LdaSmi), U8(10), 172 B(LdaSmi), U8(10),
173 /* 106 E> */ B(TestEqual), R(7), U8(5), 173 /* 106 E> */ B(TestEqual), R(7), U8(6),
174 B(JumpIfFalse), U8(4), 174 B(JumpIfFalse), U8(4),
175 /* 113 S> */ B(Jump), U8(17), 175 /* 113 S> */ B(Jump), U8(17),
176 /* 125 S> */ B(Nop), 176 /* 125 S> */ B(Nop),
177 /* 130 E> */ B(LdrNamedProperty), R(0), U8(2), U8(6), R(7), 177 /* 130 E> */ B(LdrNamedProperty), R(0), U8(2), U8(7), R(7),
178 B(LdaSmi), U8(20), 178 B(LdaSmi), U8(20),
179 /* 136 E> */ B(TestEqual), R(7), U8(8), 179 /* 136 E> */ B(TestEqual), R(7), U8(9),
180 B(JumpIfFalse), U8(4), 180 B(JumpIfFalse), U8(4),
181 /* 143 S> */ B(Jump), U8(9), 181 /* 143 S> */ B(Jump), U8(9),
182 B(ForInStep), R(5), 182 B(ForInStep), R(5),
183 B(Star), R(5), 183 B(Star), R(5),
184 B(JumpLoop), U8(-53), U8(0), 184 B(JumpLoop), U8(-53), U8(0),
185 B(LdaUndefined), 185 B(LdaUndefined),
186 /* 152 S> */ B(Return), 186 /* 152 S> */ B(Return),
187 ] 187 ]
188 constant pool: [ 188 constant pool: [
189 FIXED_ARRAY_TYPE, 189 FIXED_ARRAY_TYPE,
(...skipping 17 matching lines...) Expand all
207 B(Star), R(0), 207 B(Star), R(0),
208 /* 72 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(1), 208 /* 72 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(1),
209 B(JumpIfUndefined), U8(49), 209 B(JumpIfUndefined), U8(49),
210 B(JumpIfNull), U8(47), 210 B(JumpIfNull), U8(47),
211 B(ToObject), R(1), 211 B(ToObject), R(1),
212 B(ForInPrepare), R(1), R(2), 212 B(ForInPrepare), R(1), R(2),
213 B(LdaZero), 213 B(LdaZero),
214 B(Star), R(5), 214 B(Star), R(5),
215 /* 65 S> */ B(ForInContinue), R(5), R(4), 215 /* 65 S> */ B(ForInContinue), R(5), R(4),
216 B(JumpIfFalse), U8(34), 216 B(JumpIfFalse), U8(34),
217 B(ForInNext), R(1), R(5), R(2), U8(7), 217 B(ForInNext), R(1), R(5), R(2), U8(8),
218 B(JumpIfUndefined), U8(20), 218 B(JumpIfUndefined), U8(20),
219 B(Star), R(6), 219 B(Star), R(6),
220 B(LdaZero), 220 B(LdaZero),
221 B(Star), R(8), 221 B(Star), R(8),
222 B(Ldar), R(6), 222 B(Ldar), R(6),
223 /* 64 E> */ B(StaKeyedPropertySloppy), R(0), R(8), U8(5), 223 /* 64 E> */ B(StaKeyedPropertySloppy), R(0), R(8), U8(6),
224 /* 59 E> */ B(StackCheck), 224 /* 59 E> */ B(StackCheck),
225 /* 83 S> */ B(LdaSmi), U8(3), 225 /* 83 S> */ B(LdaSmi), U8(3),
226 /* 91 E> */ B(LdaKeyedProperty), R(0), U8(3), 226 /* 91 E> */ B(LdaKeyedProperty), R(0), U8(4),
227 /* 98 S> */ B(Return), 227 /* 98 S> */ B(Return),
228 B(ForInStep), R(5), 228 B(ForInStep), R(5),
229 B(Star), R(5), 229 B(Star), R(5),
230 B(JumpLoop), U8(-34), U8(0), 230 B(JumpLoop), U8(-34), U8(0),
231 B(LdaUndefined), 231 B(LdaUndefined),
232 /* 98 S> */ B(Return), 232 /* 98 S> */ B(Return),
233 ] 233 ]
234 constant pool: [ 234 constant pool: [
235 FIXED_ARRAY_TYPE, 235 FIXED_ARRAY_TYPE,
236 FIXED_ARRAY_TYPE, 236 FIXED_ARRAY_TYPE,
237 ] 237 ]
238 handlers: [ 238 handlers: [
239 ] 239 ]
240 240
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698