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

Side by Side Diff: test/cctest/interpreter/bytecode_expectations/ConstVariableContextSlot.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 21 matching lines...) Expand all
32 ] 32 ]
33 handlers: [ 33 handlers: [
34 ] 34 ]
35 35
36 --- 36 ---
37 snippet: " 37 snippet: "
38 const x = 10; function f1() {return x;} return x; 38 const x = 10; function f1() {return x;} return x;
39 " 39 "
40 frame size: 3 40 frame size: 3
41 parameter count: 1 41 parameter count: 1
42 bytecode array length: 37 42 bytecode array length: 39
43 bytecodes: [ 43 bytecodes: [
44 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1), 44 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U8(1),
45 B(PushContext), R(1), 45 B(PushContext), R(1),
46 B(LdaTheHole), 46 B(LdaTheHole),
47 B(StaContextSlot), R(context), U8(4), 47 B(StaContextSlot), R(context), U8(4),
48 B(CreateClosure), U8(0), U8(0), 48 B(CreateClosure), U8(0), U8(0),
49 B(Star), R(0), 49 B(Star), R(0),
50 B(StackCheck), 50 B(StackCheck),
51 B(LdaSmi8), U8(10), 51 B(LdaSmi8), U8(10),
52 B(StaContextSlot), R(context), U8(4), 52 B(StaContextSlot), R(context), U8(4),
53 B(LdaContextSlot), R(context), U8(4), 53 B(LdaContextSlot), R(context), U8(4),
54 B(JumpIfNotHole), U8(11), 54 B(JumpIfNotHole), U8(11),
55 B(LdaConstant), U8(1), 55 B(LdaConstant), U8(1),
56 B(Star), R(2), 56 B(Star), R(2),
57 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1), 57 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(2), U8(1),
58 B(PopContext), R(1),
58 B(Return), 59 B(Return),
59 ] 60 ]
60 constant pool: [ 61 constant pool: [
61 InstanceType::SHARED_FUNCTION_INFO_TYPE, 62 InstanceType::SHARED_FUNCTION_INFO_TYPE,
62 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 63 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
63 ] 64 ]
64 handlers: [ 65 handlers: [
65 ] 66 ]
66 67
67 --- 68 ---
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 B(LdaUndefined), 131 B(LdaUndefined),
131 B(Return), 132 B(Return),
132 ] 133 ]
133 constant pool: [ 134 constant pool: [
134 InstanceType::SHARED_FUNCTION_INFO_TYPE, 135 InstanceType::SHARED_FUNCTION_INFO_TYPE,
135 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 136 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
136 ] 137 ]
137 handlers: [ 138 handlers: [
138 ] 139 ]
139 140
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698