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

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

Issue 2187523002: [interpreter] Add CreateFunctionContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fncontextstubslotparam
Patch Set: fix bytecode-generator 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 let y = 2; 144 let y = 2;
145 function f() { return x + y; } 145 function f() { return x + y; }
146 if (y) break outer; 146 if (y) break outer;
147 y = 3; 147 y = 3;
148 } 148 }
149 } 149 }
150 x = 4; 150 x = 4;
151 " 151 "
152 frame size: 6 152 frame size: 6
153 parameter count: 1 153 parameter count: 1
154 bytecode array length: 130 154 bytecode array length: 127
155 bytecodes: [ 155 bytecodes: [
156 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 156 B(CreateFunctionContext), U8(1),
157 B(PushContext), R(2), 157 B(PushContext), R(2),
158 B(LdaTheHole), 158 B(LdaTheHole),
159 B(StaContextSlot), R(context), U8(4), 159 B(StaContextSlot), R(context), U8(4),
160 /* 30 E> */ B(StackCheck), 160 /* 30 E> */ B(StackCheck),
161 /* 42 S> */ B(LdaSmi), U8(1), 161 /* 42 S> */ B(LdaSmi), U8(1),
162 /* 42 E> */ B(StaContextSlot), R(context), U8(4), 162 /* 42 E> */ B(StaContextSlot), R(context), U8(4),
163 B(LdaConstant), U8(0), 163 B(LdaConstant), U8(0),
164 B(Star), R(4), 164 B(Star), R(4),
165 B(Mov), R(closure), R(5), 165 B(Mov), R(closure), R(5),
166 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2), 166 B(CallRuntime), U16(Runtime::kPushBlockContext), R(4), U8(2),
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 constant pool: [ 210 constant pool: [
211 InstanceType::FIXED_ARRAY_TYPE, 211 InstanceType::FIXED_ARRAY_TYPE,
212 InstanceType::SHARED_FUNCTION_INFO_TYPE, 212 InstanceType::SHARED_FUNCTION_INFO_TYPE,
213 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 213 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
214 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 214 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
215 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 215 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
216 ] 216 ]
217 handlers: [ 217 handlers: [
218 ] 218 ]
219 219
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698