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

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

Issue 2341743003: [interpreter] Inline FastCloneShallowArrayStub into bytecode handler (Closed)
Patch Set: rebase 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 var x = 0; 101 var x = 0;
102 for (var p in [1,2,3]) { x += p; } 102 for (var p in [1,2,3]) { x += p; }
103 " 103 "
104 frame size: 9 104 frame size: 9
105 parameter count: 1 105 parameter count: 1
106 bytecode array length: 56 106 bytecode array length: 56
107 bytecodes: [ 107 bytecodes: [
108 /* 30 E> */ B(StackCheck), 108 /* 30 E> */ B(StackCheck),
109 /* 42 S> */ B(LdaZero), 109 /* 42 S> */ B(LdaZero),
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(9),
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(3), 120 B(ForInNext), R(3), R(7), R(4), U8(3),
121 B(JumpIfUndefined), U8(17), 121 B(JumpIfUndefined), U8(17),
(...skipping 24 matching lines...) Expand all
146 if (x['a'] == 20) break; 146 if (x['a'] == 20) break;
147 } 147 }
148 " 148 "
149 frame size: 8 149 frame size: 8
150 parameter count: 1 150 parameter count: 1
151 bytecode array length: 83 151 bytecode array length: 83
152 bytecodes: [ 152 bytecodes: [
153 /* 30 E> */ B(StackCheck), 153 /* 30 E> */ B(StackCheck),
154 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1), 154 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), R(1),
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(9),
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(12), 165 B(ForInNext), R(1), R(5), R(2), U8(12),
166 B(JumpIfUndefined), U8(39), 166 B(JumpIfUndefined), U8(39),
(...skipping 29 matching lines...) Expand all
196 --- 196 ---
197 snippet: " 197 snippet: "
198 var x = [ 10, 11, 12 ] ; 198 var x = [ 10, 11, 12 ] ;
199 for (x[0] in [1,2,3]) { return x[3]; } 199 for (x[0] in [1,2,3]) { return x[3]; }
200 " 200 "
201 frame size: 9 201 frame size: 9
202 parameter count: 1 202 parameter count: 1
203 bytecode array length: 62 203 bytecode array length: 62
204 bytecodes: [ 204 bytecodes: [
205 /* 30 E> */ B(StackCheck), 205 /* 30 E> */ B(StackCheck),
206 /* 42 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(1), 206 /* 42 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(9),
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(9),
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(8), 217 B(ForInNext), R(1), R(5), R(2), U8(8),
218 B(JumpIfUndefined), U8(20), 218 B(JumpIfUndefined), U8(20),
(...skipping 12 matching lines...) Expand all
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