Chromium Code Reviews

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

Issue 1922523002: [Interpreter] Use FastCloneShallowObjectStub in CreateObjectLiteral bytecode. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Toon's comments Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 138 matching lines...)
149 for (x['a'] in [10, 20, 30]) { 149 for (x['a'] in [10, 20, 30]) {
150 if (x['a'] == 10) continue; 150 if (x['a'] == 10) continue;
151 if (x['a'] == 20) break; 151 if (x['a'] == 20) break;
152 } 152 }
153 " 153 "
154 frame size: 8 154 frame size: 8
155 parameter count: 1 155 parameter count: 1
156 bytecode array length: 94 156 bytecode array length: 94
157 bytecodes: [ 157 bytecodes: [
158 B(StackCheck), 158 B(StackCheck),
159 B(CreateObjectLiteral), U8(0), U8(0), U8(5), 159 B(CreateObjectLiteral), U8(0), U8(0), U8(1),
160 B(Star), R(1), 160 B(Star), R(1),
161 B(Star), R(0), 161 B(Star), R(0),
162 B(CreateArrayLiteral), U8(1), U8(1), U8(3), 162 B(CreateArrayLiteral), U8(1), U8(1), U8(3),
163 B(JumpIfUndefined), U8(79), 163 B(JumpIfUndefined), U8(79),
164 B(JumpIfNull), U8(77), 164 B(JumpIfNull), U8(77),
165 B(ToObject), 165 B(ToObject),
166 B(Star), R(1), 166 B(Star), R(1),
167 B(ForInPrepare), R(2), 167 B(ForInPrepare), R(2),
168 B(LdaZero), 168 B(LdaZero),
169 B(Star), R(5), 169 B(Star), R(5),
(...skipping 80 matching lines...)
250 B(LdaUndefined), 250 B(LdaUndefined),
251 B(Return), 251 B(Return),
252 ] 252 ]
253 constant pool: [ 253 constant pool: [
254 InstanceType::FIXED_ARRAY_TYPE, 254 InstanceType::FIXED_ARRAY_TYPE,
255 InstanceType::FIXED_ARRAY_TYPE, 255 InstanceType::FIXED_ARRAY_TYPE,
256 ] 256 ]
257 handlers: [ 257 handlers: [
258 ] 258 ]
259 259
OLDNEW

Powered by Google App Engine