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

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

Issue 2113613002: [Interpereter] Inline FastNewClosure into CreateClosure bytecode handler (Closed) Base URL: ssh://rmcilroy.lon.corp.google.com///usr/local/google/code/v8_full/v8@int_context
Patch Set: Rebaseline bytecode expectations Created 4 years, 5 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 ---
11 snippet: " 11 snippet: "
12 class Person { 12 class Person {
13 constructor(name) { this.name = name; } 13 constructor(name) { this.name = name; }
14 speak() { console.log(this.name + ' is speaking.'); } 14 speak() { console.log(this.name + ' is speaking.'); }
15 } 15 }
16 " 16 "
17 frame size: 9 17 frame size: 9
18 parameter count: 1 18 parameter count: 1
19 bytecode array length: 72 19 bytecode array length: 72
20 bytecodes: [ 20 bytecodes: [
21 B(LdaTheHole), 21 B(LdaTheHole),
22 B(Star), R(1), 22 B(Star), R(1),
23 /* 30 E> */ B(StackCheck), 23 /* 30 E> */ B(StackCheck),
24 B(LdaTheHole), 24 B(LdaTheHole),
25 B(Star), R(0), 25 B(Star), R(0),
26 B(LdaTheHole), 26 B(LdaTheHole),
27 B(Star), R(2), 27 B(Star), R(2),
28 B(CreateClosure), U8(0), U8(0), 28 B(CreateClosure), U8(0), U8(2),
29 B(Star), R(3), 29 B(Star), R(3),
30 B(LdaSmi), U8(34), 30 B(LdaSmi), U8(34),
31 B(Star), R(4), 31 B(Star), R(4),
32 B(Wide), B(LdaSmi), U16(148), 32 B(Wide), B(LdaSmi), U16(148),
33 B(Star), R(5), 33 B(Star), R(5),
34 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), 34 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4),
35 B(Star), R(2), 35 B(Star), R(2),
36 B(LdrNamedProperty), R(2), U8(1), U8(1), R(3), 36 B(LdrNamedProperty), R(2), U8(1), U8(1), R(3),
37 B(LdaConstant), U8(2), 37 B(LdaConstant), U8(2),
38 B(Star), R(5), 38 B(Star), R(5),
39 B(CreateClosure), U8(3), U8(0), 39 B(CreateClosure), U8(3), U8(2),
40 B(Star), R(6), 40 B(Star), R(6),
41 B(LdaSmi), U8(2), 41 B(LdaSmi), U8(2),
42 B(Star), R(7), 42 B(Star), R(7),
43 B(LdaZero), 43 B(LdaZero),
44 B(Star), R(8), 44 B(Star), R(8),
45 B(Mov), R(3), R(4), 45 B(Mov), R(3), R(4),
46 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4) , U8(5), 46 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4) , U8(5),
47 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), 47 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1),
48 B(Star), R(0), 48 B(Star), R(0),
49 B(Star), R(1), 49 B(Star), R(1),
(...skipping 20 matching lines...) Expand all
70 parameter count: 1 70 parameter count: 1
71 bytecode array length: 72 71 bytecode array length: 72
72 bytecodes: [ 72 bytecodes: [
73 B(LdaTheHole), 73 B(LdaTheHole),
74 B(Star), R(1), 74 B(Star), R(1),
75 /* 30 E> */ B(StackCheck), 75 /* 30 E> */ B(StackCheck),
76 B(LdaTheHole), 76 B(LdaTheHole),
77 B(Star), R(0), 77 B(Star), R(0),
78 B(LdaTheHole), 78 B(LdaTheHole),
79 B(Star), R(2), 79 B(Star), R(2),
80 B(CreateClosure), U8(0), U8(0), 80 B(CreateClosure), U8(0), U8(2),
81 B(Star), R(3), 81 B(Star), R(3),
82 B(LdaSmi), U8(34), 82 B(LdaSmi), U8(34),
83 B(Star), R(4), 83 B(Star), R(4),
84 B(Wide), B(LdaSmi), U16(148), 84 B(Wide), B(LdaSmi), U16(148),
85 B(Star), R(5), 85 B(Star), R(5),
86 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4), 86 B(CallRuntime), U16(Runtime::kDefineClass), R(2), U8(4),
87 B(Star), R(2), 87 B(Star), R(2),
88 B(LdrNamedProperty), R(2), U8(1), U8(1), R(3), 88 B(LdrNamedProperty), R(2), U8(1), U8(1), R(3),
89 B(LdaConstant), U8(2), 89 B(LdaConstant), U8(2),
90 B(Star), R(5), 90 B(Star), R(5),
91 B(CreateClosure), U8(3), U8(0), 91 B(CreateClosure), U8(3), U8(2),
92 B(Star), R(6), 92 B(Star), R(6),
93 B(LdaSmi), U8(2), 93 B(LdaSmi), U8(2),
94 B(Star), R(7), 94 B(Star), R(7),
95 B(LdaZero), 95 B(LdaZero),
96 B(Star), R(8), 96 B(Star), R(8),
97 B(Mov), R(3), R(4), 97 B(Mov), R(3), R(4),
98 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4) , U8(5), 98 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(4) , U8(5),
99 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1), 99 B(CallRuntime), U16(Runtime::kToFastProperties), R(2), U8(1),
100 B(Star), R(0), 100 B(Star), R(0),
101 B(Star), R(1), 101 B(Star), R(1),
(...skipping 28 matching lines...) Expand all
130 B(Star), R(1), 130 B(Star), R(1),
131 /* 30 E> */ B(StackCheck), 131 /* 30 E> */ B(StackCheck),
132 /* 43 S> */ B(LdaConstant), U8(0), 132 /* 43 S> */ B(LdaConstant), U8(0),
133 /* 43 E> */ B(StaContextSlot), R(context), U8(4), 133 /* 43 E> */ B(StaContextSlot), R(context), U8(4),
134 /* 57 S> */ B(LdaConstant), U8(1), 134 /* 57 S> */ B(LdaConstant), U8(1),
135 /* 57 E> */ B(StaContextSlot), R(context), U8(5), 135 /* 57 E> */ B(StaContextSlot), R(context), U8(5),
136 B(LdaTheHole), 136 B(LdaTheHole),
137 B(Star), R(0), 137 B(Star), R(0),
138 B(LdaTheHole), 138 B(LdaTheHole),
139 B(Star), R(3), 139 B(Star), R(3),
140 B(CreateClosure), U8(2), U8(0), 140 B(CreateClosure), U8(2), U8(2),
141 B(Star), R(4), 141 B(Star), R(4),
142 B(LdaSmi), U8(62), 142 B(LdaSmi), U8(62),
143 B(Star), R(5), 143 B(Star), R(5),
144 B(Wide), B(LdaSmi), U16(128), 144 B(Wide), B(LdaSmi), U16(128),
145 B(Star), R(6), 145 B(Star), R(6),
146 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), 146 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4),
147 B(Star), R(3), 147 B(Star), R(3),
148 B(LdrNamedProperty), R(3), U8(3), U8(1), R(4), 148 B(LdrNamedProperty), R(3), U8(3), U8(1), R(4),
149 /* 75 E> */ B(LdaContextSlot), R(context), U8(4), 149 /* 75 E> */ B(LdaContextSlot), R(context), U8(4),
150 B(ToName), 150 B(ToName),
151 B(Star), R(6), 151 B(Star), R(6),
152 B(CreateClosure), U8(4), U8(0), 152 B(CreateClosure), U8(4), U8(2),
153 B(Star), R(7), 153 B(Star), R(7),
154 B(LdaSmi), U8(2), 154 B(LdaSmi), U8(2),
155 B(Star), R(8), 155 B(Star), R(8),
156 B(LdaSmi), U8(1), 156 B(LdaSmi), U8(1),
157 B(Star), R(9), 157 B(Star), R(9),
158 B(Mov), R(4), R(5), 158 B(Mov), R(4), R(5),
159 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5) , U8(5), 159 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5) , U8(5),
160 /* 106 E> */ B(LdaContextSlot), R(context), U8(5), 160 /* 106 E> */ B(LdaContextSlot), R(context), U8(5),
161 B(ToName), 161 B(ToName),
162 B(Star), R(6), 162 B(Star), R(6),
163 B(LdaConstant), U8(3), 163 B(LdaConstant), U8(3),
164 B(TestEqualStrict), R(6), 164 B(TestEqualStrict), R(6),
165 B(Mov), R(3), R(5), 165 B(Mov), R(3), R(5),
166 B(JumpIfToBooleanFalse), U8(7), 166 B(JumpIfToBooleanFalse), U8(7),
167 B(CallRuntime), U16(Runtime::kThrowStaticPrototypeError), R(0), U8(0), 167 B(CallRuntime), U16(Runtime::kThrowStaticPrototypeError), R(0), U8(0),
168 B(CreateClosure), U8(5), U8(0), 168 B(CreateClosure), U8(5), U8(2),
169 B(Star), R(7), 169 B(Star), R(7),
170 B(LdaSmi), U8(1), 170 B(LdaSmi), U8(1),
171 B(Star), R(9), 171 B(Star), R(9),
172 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5) , U8(5), 172 B(CallRuntime), U16(Runtime::kDefineDataPropertyInLiteral), R(5) , U8(5),
173 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), 173 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
174 B(Star), R(0), 174 B(Star), R(0),
175 B(Star), R(1), 175 B(Star), R(1),
176 B(LdaUndefined), 176 B(LdaUndefined),
177 /* 129 S> */ B(Return), 177 /* 129 S> */ B(Return),
178 ] 178 ]
(...skipping 22 matching lines...) Expand all
201 B(PushContext), R(2), 201 B(PushContext), R(2),
202 B(LdaTheHole), 202 B(LdaTheHole),
203 B(Star), R(1), 203 B(Star), R(1),
204 /* 30 E> */ B(StackCheck), 204 /* 30 E> */ B(StackCheck),
205 /* 46 S> */ B(LdaZero), 205 /* 46 S> */ B(LdaZero),
206 /* 46 E> */ B(StaContextSlot), R(context), U8(4), 206 /* 46 E> */ B(StaContextSlot), R(context), U8(4),
207 B(LdaTheHole), 207 B(LdaTheHole),
208 B(Star), R(0), 208 B(Star), R(0),
209 B(LdaTheHole), 209 B(LdaTheHole),
210 B(Star), R(3), 210 B(Star), R(3),
211 B(CreateClosure), U8(0), U8(0), 211 B(CreateClosure), U8(0), U8(2),
212 B(Star), R(4), 212 B(Star), R(4),
213 B(LdaSmi), U8(49), 213 B(LdaSmi), U8(49),
214 B(Star), R(5), 214 B(Star), R(5),
215 B(LdaSmi), U8(86), 215 B(LdaSmi), U8(86),
216 B(Star), R(6), 216 B(Star), R(6),
217 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4), 217 B(CallRuntime), U16(Runtime::kDefineClass), R(3), U8(4),
218 B(Star), R(3), 218 B(Star), R(3),
219 B(LdrNamedProperty), R(3), U8(1), U8(1), R(4), 219 B(LdrNamedProperty), R(3), U8(1), U8(1), R(4),
220 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1), 220 B(CallRuntime), U16(Runtime::kToFastProperties), R(3), U8(1),
221 B(Star), R(0), 221 B(Star), R(0),
222 B(Star), R(1), 222 B(Star), R(1),
223 /* 87 S> */ B(JumpIfNotHole), U8(11), 223 /* 87 S> */ B(JumpIfNotHole), U8(11),
224 B(LdaConstant), U8(2), 224 B(LdaConstant), U8(2),
225 B(Star), R(4), 225 B(Star), R(4),
226 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1), 226 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(4), U8(1),
227 B(Star), R(3), 227 B(Star), R(3),
228 /* 94 E> */ B(New), R(3), R(0), U8(0), 228 /* 94 E> */ B(New), R(3), R(0), U8(0),
229 /* 103 S> */ B(Return), 229 /* 103 S> */ B(Return),
230 ] 230 ]
231 constant pool: [ 231 constant pool: [
232 InstanceType::SHARED_FUNCTION_INFO_TYPE, 232 InstanceType::SHARED_FUNCTION_INFO_TYPE,
233 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 233 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
234 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 234 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
235 ] 235 ]
236 handlers: [ 236 handlers: [
237 ] 237 ]
238 238
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698