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

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

Issue 1768123002: [Interpreter] Fixes a bug when popping context to correct level on break/continue. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 ] 194 ]
195 195
196 --- 196 ---
197 snippet: " 197 snippet: "
198 var count = 0; 198 var count = 0;
199 class C { constructor() { count++; }} 199 class C { constructor() { count++; }}
200 return new C(); 200 return new C();
201 " 201 "
202 frame size: 10 202 frame size: 10
203 parameter count: 1 203 parameter count: 1
204 bytecode array length: 74 204 bytecode array length: 76
205 bytecodes: [ 205 bytecodes: [
206 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), 206 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
207 B(PushContext), R(2), 207 B(PushContext), R(2),
208 B(LdaTheHole), 208 B(LdaTheHole),
209 B(Star), R(1), 209 B(Star), R(1),
210 B(StackCheck), 210 B(StackCheck),
211 B(LdaZero), 211 B(LdaZero),
212 B(StaContextSlot), R(context), U8(4), 212 B(StaContextSlot), R(context), U8(4),
213 B(LdaTheHole), 213 B(LdaTheHole),
214 B(Star), R(0), 214 B(Star), R(0),
(...skipping 11 matching lines...) Expand all
226 B(Star), R(4), 226 B(Star), R(4),
227 B(CallRuntime), U16(Runtime::kFinalizeClassDefinition), R(3), U8(2), 227 B(CallRuntime), U16(Runtime::kFinalizeClassDefinition), R(3), U8(2),
228 B(Star), R(0), 228 B(Star), R(0),
229 B(Star), R(1), 229 B(Star), R(1),
230 B(JumpIfNotHole), U8(11), 230 B(JumpIfNotHole), U8(11),
231 B(LdaConstant), U8(2), 231 B(LdaConstant), U8(2),
232 B(Star), R(4), 232 B(Star), R(4),
233 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), 233 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
234 B(Star), R(3), 234 B(Star), R(3),
235 B(New), R(3), R(0), U8(0), 235 B(New), R(3), R(0), U8(0),
236 B(PopContext), R(2),
236 B(Return), 237 B(Return),
237 ] 238 ]
238 constant pool: [ 239 constant pool: [
239 InstanceType::SHARED_FUNCTION_INFO_TYPE, 240 InstanceType::SHARED_FUNCTION_INFO_TYPE,
240 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 241 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
241 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 242 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
242 ] 243 ]
243 handlers: [ 244 handlers: [
244 ] 245 ]
245 246
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698