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

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

Issue 2187523002: [interpreter] Add CreateFunctionContext bytecode (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@fncontextstubslotparam
Patch Set: fix bytecode graph builder 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 snippet: " 117 snippet: "
118 var n0 = 'a'; 118 var n0 = 'a';
119 var n1 = 'b'; 119 var n1 = 'b';
120 class N { 120 class N {
121 [n0]() { return n0; } 121 [n0]() { return n0; }
122 static [n1]() { return n1; } 122 static [n1]() { return n1; }
123 } 123 }
124 " 124 "
125 frame size: 11 125 frame size: 11
126 parameter count: 1 126 parameter count: 1
127 bytecode array length: 126 127 bytecode array length: 123
128 bytecodes: [ 128 bytecodes: [
129 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 129 B(CreateFunctionContext), U8(2),
130 B(PushContext), R(3), 130 B(PushContext), R(3),
131 B(LdaTheHole), 131 B(LdaTheHole),
132 B(Star), R(2), 132 B(Star), R(2),
133 /* 30 E> */ B(StackCheck), 133 /* 30 E> */ B(StackCheck),
134 /* 43 S> */ B(LdaConstant), U8(0), 134 /* 43 S> */ B(LdaConstant), U8(0),
135 /* 43 E> */ B(StaContextSlot), R(context), U8(4), 135 /* 43 E> */ B(StaContextSlot), R(context), U8(4),
136 /* 57 S> */ B(LdaConstant), U8(1), 136 /* 57 S> */ B(LdaConstant), U8(1),
137 /* 57 E> */ B(StaContextSlot), R(context), U8(5), 137 /* 57 E> */ B(StaContextSlot), R(context), U8(5),
138 B(LdaTheHole), 138 B(LdaTheHole),
139 B(Star), R(0), 139 B(Star), R(0),
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 ] 189 ]
190 190
191 --- 191 ---
192 snippet: " 192 snippet: "
193 var count = 0; 193 var count = 0;
194 class C { constructor() { count++; }} 194 class C { constructor() { count++; }}
195 return new C(); 195 return new C();
196 " 196 "
197 frame size: 8 197 frame size: 8
198 parameter count: 1 198 parameter count: 1
199 bytecode array length: 75 199 bytecode array length: 72
200 bytecodes: [ 200 bytecodes: [
201 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 201 B(CreateFunctionContext), U8(1),
202 B(PushContext), R(3), 202 B(PushContext), R(3),
203 B(LdaTheHole), 203 B(LdaTheHole),
204 B(Star), R(2), 204 B(Star), R(2),
205 /* 30 E> */ B(StackCheck), 205 /* 30 E> */ B(StackCheck),
206 /* 46 S> */ B(LdaZero), 206 /* 46 S> */ B(LdaZero),
207 /* 46 E> */ B(StaContextSlot), R(context), U8(4), 207 /* 46 E> */ B(StaContextSlot), R(context), U8(4),
208 B(LdaTheHole), 208 B(LdaTheHole),
209 B(Star), R(0), 209 B(Star), R(0),
210 /* 49 S> */ B(LdaTheHole), 210 /* 49 S> */ B(LdaTheHole),
211 B(Star), R(4), 211 B(Star), R(4),
(...skipping 19 matching lines...) Expand all
231 /* 103 S> */ B(Return), 231 /* 103 S> */ B(Return),
232 ] 232 ]
233 constant pool: [ 233 constant pool: [
234 InstanceType::SHARED_FUNCTION_INFO_TYPE, 234 InstanceType::SHARED_FUNCTION_INFO_TYPE,
235 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 235 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
236 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 236 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
237 ] 237 ]
238 handlers: [ 238 handlers: [
239 ] 239 ]
240 240
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698