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

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

Issue 2189463006: [interpreter] Put object in register for ToObject/ForInPrepare (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix tests 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 " 65 "
66 frame size: 8 66 frame size: 8
67 parameter count: 1 67 parameter count: 1
68 bytecode array length: 44 68 bytecode array length: 44
69 bytecodes: [ 69 bytecodes: [
70 /* 30 E> */ B(StackCheck), 70 /* 30 E> */ B(StackCheck),
71 /* 42 S> */ B(LdaConstant), U8(0), 71 /* 42 S> */ B(LdaConstant), U8(0),
72 B(Star), R(1), 72 B(Star), R(1),
73 /* 68 S> */ B(JumpIfUndefined), U8(37), 73 /* 68 S> */ B(JumpIfUndefined), U8(37),
74 B(JumpIfNull), U8(35), 74 B(JumpIfNull), U8(35),
75 B(ToObject), 75 B(ToObject), R(3),
76 B(ForInPrepare), R(4), 76 B(ForInPrepare), R(3), R(4),
77 B(Star), R(3),
78 B(LdaZero), 77 B(LdaZero),
79 B(Star), R(7), 78 B(Star), R(7),
80 /* 63 S> */ B(ForInDone), R(7), R(6), 79 /* 63 S> */ B(ForInDone), R(7), R(6),
81 B(JumpIfTrue), U8(22), 80 B(JumpIfTrue), U8(22),
82 B(ForInNext), R(3), R(7), R(4), U8(1), 81 B(ForInNext), R(3), R(7), R(4), U8(1),
83 B(JumpIfUndefined), U8(9), 82 B(JumpIfUndefined), U8(9),
84 B(Star), R(0), 83 B(Star), R(0),
85 /* 54 E> */ B(StackCheck), 84 /* 54 E> */ B(StackCheck),
86 B(Star), R(2), 85 B(Star), R(2),
87 /* 73 S> */ B(Nop), 86 /* 73 S> */ B(Nop),
(...skipping 18 matching lines...) Expand all
106 frame size: 9 105 frame size: 9
107 parameter count: 1 106 parameter count: 1
108 bytecode array length: 54 107 bytecode array length: 54
109 bytecodes: [ 108 bytecodes: [
110 /* 30 E> */ B(StackCheck), 109 /* 30 E> */ B(StackCheck),
111 /* 42 S> */ B(LdaZero), 110 /* 42 S> */ B(LdaZero),
112 B(Star), R(1), 111 B(Star), R(1),
113 /* 59 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), 112 /* 59 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
114 B(JumpIfUndefined), U8(44), 113 B(JumpIfUndefined), U8(44),
115 B(JumpIfNull), U8(42), 114 B(JumpIfNull), U8(42),
116 B(ToObject), 115 B(ToObject), R(3),
117 B(ForInPrepare), R(4), 116 B(ForInPrepare), R(3), R(4),
118 B(Star), R(3),
119 B(LdaZero), 117 B(LdaZero),
120 B(Star), R(7), 118 B(Star), R(7),
121 /* 54 S> */ B(ForInDone), R(7), R(6), 119 /* 54 S> */ B(ForInDone), R(7), R(6),
122 B(JumpIfTrue), U8(29), 120 B(JumpIfTrue), U8(29),
123 B(ForInNext), R(3), R(7), R(4), U8(1), 121 B(ForInNext), R(3), R(7), R(4), U8(1),
124 B(JumpIfUndefined), U8(16), 122 B(JumpIfUndefined), U8(16),
125 B(Star), R(0), 123 B(Star), R(0),
126 /* 45 E> */ B(StackCheck), 124 /* 45 E> */ B(StackCheck),
127 B(Star), R(2), 125 B(Star), R(2),
128 /* 70 S> */ B(Ldar), R(0), 126 /* 70 S> */ B(Ldar), R(0),
(...skipping 24 matching lines...) Expand all
153 parameter count: 1 151 parameter count: 1
154 bytecode array length: 80 152 bytecode array length: 80
155 bytecodes: [ 153 bytecodes: [
156 /* 30 E> */ B(StackCheck), 154 /* 30 E> */ B(StackCheck),
157 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1), 155 /* 42 S> */ B(CreateObjectLiteral), U8(0), U8(0), U8(1),
158 B(Star), R(1), 156 B(Star), R(1),
159 B(Star), R(0), 157 B(Star), R(0),
160 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3), 158 /* 77 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3),
161 B(JumpIfUndefined), U8(65), 159 B(JumpIfUndefined), U8(65),
162 B(JumpIfNull), U8(63), 160 B(JumpIfNull), U8(63),
163 B(ToObject), 161 B(ToObject), R(1),
164 B(ForInPrepare), R(2), 162 B(ForInPrepare), R(1), R(2),
165 B(Star), R(1),
166 B(LdaZero), 163 B(LdaZero),
167 B(Star), R(5), 164 B(Star), R(5),
168 /* 68 S> */ B(ForInDone), R(5), R(4), 165 /* 68 S> */ B(ForInDone), R(5), R(4),
169 B(JumpIfTrue), U8(50), 166 B(JumpIfTrue), U8(50),
170 B(ForInNext), R(1), R(5), R(2), U8(9), 167 B(ForInNext), R(1), R(5), R(2), U8(9),
171 B(JumpIfUndefined), U8(37), 168 B(JumpIfUndefined), U8(37),
172 B(Star), R(6), 169 B(Star), R(6),
173 /* 67 E> */ B(StaNamedPropertySloppy), R(0), U8(2), U8(7), 170 /* 67 E> */ B(StaNamedPropertySloppy), R(0), U8(2), U8(7),
174 /* 62 E> */ B(StackCheck), 171 /* 62 E> */ B(StackCheck),
175 /* 95 S> */ B(Nop), 172 /* 95 S> */ B(Nop),
(...skipping 30 matching lines...) Expand all
206 frame size: 9 203 frame size: 9
207 parameter count: 1 204 parameter count: 1
208 bytecode array length: 61 205 bytecode array length: 61
209 bytecodes: [ 206 bytecodes: [
210 /* 30 E> */ B(StackCheck), 207 /* 30 E> */ B(StackCheck),
211 /* 42 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3), 208 /* 42 S> */ B(CreateArrayLiteral), U8(0), U8(0), U8(3),
212 B(Star), R(0), 209 B(Star), R(0),
213 /* 72 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3), 210 /* 72 S> */ B(CreateArrayLiteral), U8(1), U8(1), U8(3),
214 B(JumpIfUndefined), U8(48), 211 B(JumpIfUndefined), U8(48),
215 B(JumpIfNull), U8(46), 212 B(JumpIfNull), U8(46),
216 B(ToObject), 213 B(ToObject), R(1),
217 B(ForInPrepare), R(2), 214 B(ForInPrepare), R(1), R(2),
218 B(Star), R(1),
219 B(LdaZero), 215 B(LdaZero),
220 B(Star), R(5), 216 B(Star), R(5),
221 /* 65 S> */ B(ForInDone), R(5), R(4), 217 /* 65 S> */ B(ForInDone), R(5), R(4),
222 B(JumpIfTrue), U8(33), 218 B(JumpIfTrue), U8(33),
223 B(ForInNext), R(1), R(5), R(2), U8(7), 219 B(ForInNext), R(1), R(5), R(2), U8(7),
224 B(JumpIfUndefined), U8(20), 220 B(JumpIfUndefined), U8(20),
225 B(Star), R(6), 221 B(Star), R(6),
226 B(LdaZero), 222 B(LdaZero),
227 B(Star), R(8), 223 B(Star), R(8),
228 B(Ldar), R(6), 224 B(Ldar), R(6),
229 /* 64 E> */ B(StaKeyedPropertySloppy), R(0), R(8), U8(5), 225 /* 64 E> */ B(StaKeyedPropertySloppy), R(0), R(8), U8(5),
230 /* 59 E> */ B(StackCheck), 226 /* 59 E> */ B(StackCheck),
231 /* 83 S> */ B(LdaSmi), U8(3), 227 /* 83 S> */ B(LdaSmi), U8(3),
232 /* 91 E> */ B(LdaKeyedProperty), R(0), U8(3), 228 /* 91 E> */ B(LdaKeyedProperty), R(0), U8(3),
233 /* 98 S> */ B(Return), 229 /* 98 S> */ B(Return),
234 B(ForInStep), R(5), 230 B(ForInStep), R(5),
235 B(Star), R(5), 231 B(Star), R(5),
236 B(Jump), U8(-34), 232 B(Jump), U8(-34),
237 B(LdaUndefined), 233 B(LdaUndefined),
238 /* 98 S> */ B(Return), 234 /* 98 S> */ B(Return),
239 ] 235 ]
240 constant pool: [ 236 constant pool: [
241 InstanceType::FIXED_ARRAY_TYPE, 237 InstanceType::FIXED_ARRAY_TYPE,
242 InstanceType::FIXED_ARRAY_TYPE, 238 InstanceType::FIXED_ARRAY_TYPE,
243 ] 239 ]
244 handlers: [ 240 handlers: [
245 ] 241 ]
246 242
OLDNEW
« no previous file with comments | « src/interpreter/interpreter.cc ('k') | test/cctest/interpreter/bytecode_expectations/WideRegisters.golden » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698