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

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

Issue 1985753002: [interpreter] Introduce fused bytecodes for common sequences. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 7 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: no 8 wrap: no
9 test function name: f 9 test function name: f
10 ignition generators: yes 10 ignition generators: yes
11 11
12 --- 12 ---
13 snippet: " 13 snippet: "
14 function* f() { } 14 function* f() { }
15 f(); 15 f();
16 " 16 "
17 frame size: 11 17 frame size: 11
18 parameter count: 1 18 parameter count: 1
19 bytecode array length: 203 19 bytecode array length: 199
20 bytecodes: [ 20 bytecodes: [
21 B(Ldar), R(new_target), 21 B(Ldar), R(new_target),
22 B(JumpIfUndefined), U8(20), 22 B(JumpIfUndefined), U8(20),
23 B(ResumeGenerator), R(new_target), 23 B(ResumeGenerator), R(new_target),
24 B(Star), R(1), 24 B(Star), R(1),
25 B(LdaZero), 25 B(LdaZero),
26 B(TestEqualStrict), R(1), 26 B(TestEqualStrict), R(1),
27 B(JumpIfTrue), U8(57), 27 B(JumpIfTrue), U8(55),
28 B(LdaSmi), U8(76), 28 B(LdaSmi), U8(76),
29 B(Star), R(2), 29 B(Star), R(2),
30 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), 30 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
31 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 31 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
32 B(PushContext), R(0), 32 B(PushContext), R(0),
33 B(Ldar), R(this), 33 B(Ldar), R(this),
34 B(StaContextSlot), R(context), U8(4), 34 B(StaContextSlot), R(context), U8(4),
35 /* 11 E> */ B(StackCheck), 35 /* 11 E> */ B(StackCheck),
36 B(Mov), R(context), R(4), 36 B(Mov), R(context), R(4),
37 B(Ldar), R(closure), 37 B(Ldar), R(closure),
38 B(Star), R(5), 38 B(Star), R(5),
39 B(LdaContextSlot), R(context), U8(4), 39 B(LdrContextSlot), R(context), U8(4), R(6),
40 B(Star), R(6),
41 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8 (2), 40 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8 (2),
42 B(StaContextSlot), R(context), U8(5), 41 B(StaContextSlot), R(context), U8(5),
43 B(Star), R(5), 42 B(Star), R(5),
44 B(LdaContextSlot), R(context), U8(5), 43 B(LdrContextSlot), R(context), U8(5), R(6),
45 B(Star), R(6),
46 B(LdaZero), 44 B(LdaZero),
47 B(SuspendGenerator), R(6), 45 B(SuspendGenerator), R(6),
48 B(Ldar), R(5), 46 B(Ldar), R(5),
49 B(Return), 47 B(Return),
50 B(LdaSmi), U8(-2), 48 B(LdaSmi), U8(-2),
51 B(Star), R(1), 49 B(Star), R(1),
52 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(6), U8(1), 50 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(6), U8(1),
53 B(Star), R(7), 51 B(Star), R(7),
54 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1), 52 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1),
55 B(Star), R(8), 53 B(Star), R(8),
56 B(LdaZero), 54 B(LdaZero),
57 B(TestEqualStrict), R(8), 55 B(TestEqualStrict), R(8),
58 B(JumpIfTrue), U8(31), 56 B(JumpIfTrue), U8(31),
59 B(LdaSmi), U8(2), 57 B(LdaSmi), U8(2),
60 B(TestEqualStrict), R(8), 58 B(TestEqualStrict), R(8),
61 B(JumpIfTrue), U8(22), 59 B(JumpIfTrue), U8(22),
62 B(Jump), U8(2), 60 B(Jump), U8(2),
63 B(Mov), R(7), R(9), 61 B(Mov), R(7), R(9),
64 B(LdaTrue), 62 B(LdaTrue),
65 B(Star), R(10), 63 B(Star), R(10),
66 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2), 64 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2),
67 B(Star), R(3), 65 B(Star), R(3),
68 B(LdaZero), 66 B(LdaZero),
69 B(Star), R(2), 67 B(Star), R(2),
70 B(Jump), U8(36), 68 B(Jump), U8(35),
71 B(Ldar), R(7), 69 B(Ldar), R(7),
72 B(Throw), 70 B(Throw),
73 B(LdaUndefined), 71 B(LdrUndefined), R(5),
74 B(Star), R(5),
75 B(LdaTrue), 72 B(LdaTrue),
76 B(Star), R(6), 73 B(Star), R(6),
77 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2), 74 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2),
78 B(Star), R(3), 75 B(Star), R(3),
79 B(LdaSmi), U8(1), 76 B(LdaSmi), U8(1),
80 B(Star), R(2), 77 B(Star), R(2),
81 B(Jump), U8(14), 78 B(Jump), U8(14),
82 B(LdaSmi), U8(-1), 79 B(LdaSmi), U8(-1),
83 B(Star), R(2), 80 B(Star), R(2),
84 B(Jump), U8(8), 81 B(Jump), U8(8),
85 B(Star), R(3), 82 B(Star), R(3),
86 B(LdaSmi), U8(2), 83 B(LdaSmi), U8(2),
87 B(Star), R(2), 84 B(Star), R(2),
88 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 85 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
89 B(Star), R(4), 86 B(Star), R(4),
90 B(LdaContextSlot), R(context), U8(5), 87 B(LdrContextSlot), R(context), U8(5), R(5),
91 B(Star), R(5),
92 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1), 88 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1),
93 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4 ), U8(1), 89 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4 ), U8(1),
94 B(LdaZero), 90 B(LdaZero),
95 B(TestEqualStrict), R(2), 91 B(TestEqualStrict), R(2),
96 B(JumpIfTrue), U8(16), 92 B(JumpIfTrue), U8(16),
97 B(LdaSmi), U8(1), 93 B(LdaSmi), U8(1),
98 B(TestEqualStrict), R(2), 94 B(TestEqualStrict), R(2),
99 B(JumpIfTrue), U8(13), 95 B(JumpIfTrue), U8(13),
100 B(LdaSmi), U8(2), 96 B(LdaSmi), U8(2),
101 B(TestEqualStrict), R(2), 97 B(TestEqualStrict), R(2),
102 B(JumpIfTrue), U8(10), 98 B(JumpIfTrue), U8(10),
103 B(Jump), U8(11), 99 B(Jump), U8(11),
104 B(Ldar), R(3), 100 B(Ldar), R(3),
105 /* 16 S> */ B(Return), 101 /* 16 S> */ B(Return),
106 B(Ldar), R(3), 102 B(Ldar), R(3),
107 /* 16 S> */ B(Return), 103 /* 16 S> */ B(Return),
108 B(Ldar), R(3), 104 B(Ldar), R(3),
109 B(ReThrow), 105 B(ReThrow),
110 B(LdaUndefined), 106 B(LdaUndefined),
111 /* 16 S> */ B(Return), 107 /* 16 S> */ B(Return),
112 ] 108 ]
113 constant pool: [ 109 constant pool: [
114 ] 110 ]
115 handlers: [ 111 handlers: [
116 [38, 139, 145], 112 [38, 136, 142],
117 ] 113 ]
118 114
119 --- 115 ---
120 snippet: " 116 snippet: "
121 function* f() { yield 42 } 117 function* f() { yield 42 }
122 f(); 118 f();
123 " 119 "
124 frame size: 11 120 frame size: 11
125 parameter count: 1 121 parameter count: 1
126 bytecode array length: 297 122 bytecode array length: 292
127 bytecodes: [ 123 bytecodes: [
128 B(Ldar), R(new_target), 124 B(Ldar), R(new_target),
129 B(JumpIfUndefined), U8(26), 125 B(JumpIfUndefined), U8(26),
130 B(ResumeGenerator), R(new_target), 126 B(ResumeGenerator), R(new_target),
131 B(Star), R(1), 127 B(Star), R(1),
132 B(LdaZero), 128 B(LdaZero),
133 B(TestEqualStrict), R(1), 129 B(TestEqualStrict), R(1),
134 B(JumpIfTrue), U8(63), 130 B(JumpIfTrue), U8(61),
135 B(LdaSmi), U8(1), 131 B(LdaSmi), U8(1),
136 B(TestEqualStrict), R(1), 132 B(TestEqualStrict), R(1),
137 B(JumpIfTrueConstant), U8(0), 133 B(JumpIfTrueConstant), U8(0),
138 B(LdaSmi), U8(76), 134 B(LdaSmi), U8(76),
139 B(Star), R(2), 135 B(Star), R(2),
140 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1), 136 B(CallRuntime), U16(Runtime::kAbort), R(2), U8(1),
141 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 137 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
142 B(PushContext), R(0), 138 B(PushContext), R(0),
143 B(Ldar), R(this), 139 B(Ldar), R(this),
144 B(StaContextSlot), R(context), U8(4), 140 B(StaContextSlot), R(context), U8(4),
145 /* 11 E> */ B(StackCheck), 141 /* 11 E> */ B(StackCheck),
146 B(Mov), R(context), R(4), 142 B(Mov), R(context), R(4),
147 B(Ldar), R(closure), 143 B(Ldar), R(closure),
148 B(Star), R(5), 144 B(Star), R(5),
149 B(LdaContextSlot), R(context), U8(4), 145 B(LdrContextSlot), R(context), U8(4), R(6),
150 B(Star), R(6),
151 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8 (2), 146 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(5), U8 (2),
152 B(StaContextSlot), R(context), U8(5), 147 B(StaContextSlot), R(context), U8(5),
153 B(Star), R(5), 148 B(Star), R(5),
154 B(LdaContextSlot), R(context), U8(5), 149 B(LdrContextSlot), R(context), U8(5), R(6),
155 B(Star), R(6),
156 B(LdaZero), 150 B(LdaZero),
157 B(SuspendGenerator), R(6), 151 B(SuspendGenerator), R(6),
158 B(Ldar), R(5), 152 B(Ldar), R(5),
159 B(Return), 153 B(Return),
160 B(LdaSmi), U8(-2), 154 B(LdaSmi), U8(-2),
161 B(Star), R(1), 155 B(Star), R(1),
162 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(6), U8(1), 156 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(6), U8(1),
163 B(Star), R(7), 157 B(Star), R(7),
164 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1), 158 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(6), U8 (1),
165 B(Star), R(8), 159 B(Star), R(8),
166 B(LdaZero), 160 B(LdaZero),
167 B(TestEqualStrict), R(8), 161 B(TestEqualStrict), R(8),
168 B(JumpIfTrue), U8(31), 162 B(JumpIfTrue), U8(31),
169 B(LdaSmi), U8(2), 163 B(LdaSmi), U8(2),
170 B(TestEqualStrict), R(8), 164 B(TestEqualStrict), R(8),
171 B(JumpIfTrue), U8(22), 165 B(JumpIfTrue), U8(22),
172 B(Jump), U8(2), 166 B(Jump), U8(2),
173 B(Mov), R(7), R(9), 167 B(Mov), R(7), R(9),
174 B(LdaTrue), 168 B(LdaTrue),
175 B(Star), R(10), 169 B(Star), R(10),
176 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2), 170 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2),
177 B(Star), R(3), 171 B(Star), R(3),
178 B(LdaZero), 172 B(LdaZero),
179 B(Star), R(2), 173 B(Star), R(2),
180 B(Jump), U8(115), 174 B(Jump), U8(113),
181 B(Ldar), R(7), 175 B(Ldar), R(7),
182 B(Throw), 176 B(Throw),
183 /* 16 S> */ B(LdaSmi), U8(42), 177 /* 16 S> */ B(LdaSmi), U8(42),
184 B(Star), R(5), 178 B(Star), R(5),
185 B(LdaFalse), 179 B(LdaFalse),
186 B(Star), R(6), 180 B(Star), R(6),
187 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2), 181 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2),
188 B(Star), R(7), 182 B(Star), R(7),
189 B(LdaContextSlot), R(context), U8(5), 183 B(LdrContextSlot), R(context), U8(5), R(5),
190 B(Star), R(5),
191 B(LdaSmi), U8(1), 184 B(LdaSmi), U8(1),
192 B(SuspendGenerator), R(5), 185 B(SuspendGenerator), R(5),
193 B(Ldar), R(7), 186 B(Ldar), R(7),
194 B(Return), 187 B(Return),
195 B(LdaSmi), U8(-2), 188 B(LdaSmi), U8(-2),
196 B(Star), R(1), 189 B(Star), R(1),
197 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(5), U8(1), 190 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(5), U8(1),
198 B(Star), R(6), 191 B(Star), R(6),
199 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8 (1), 192 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(5), U8 (1),
200 B(Star), R(8), 193 B(Star), R(8),
201 B(LdaZero), 194 B(LdaZero),
202 B(TestEqualStrict), R(8), 195 B(TestEqualStrict), R(8),
203 B(JumpIfTrue), U8(32), 196 B(JumpIfTrue), U8(32),
204 B(LdaSmi), U8(2), 197 B(LdaSmi), U8(2),
205 B(TestEqualStrict), R(8), 198 B(TestEqualStrict), R(8),
206 B(JumpIfTrue), U8(23), 199 B(JumpIfTrue), U8(23),
207 B(Jump), U8(2), 200 B(Jump), U8(2),
208 B(Mov), R(6), R(9), 201 B(Mov), R(6), R(9),
209 B(LdaTrue), 202 B(LdaTrue),
210 B(Star), R(10), 203 B(Star), R(10),
211 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2), 204 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(9), U8 (2),
212 B(Star), R(3), 205 B(Star), R(3),
213 B(LdaSmi), U8(1), 206 B(LdaSmi), U8(1),
214 B(Star), R(2), 207 B(Star), R(2),
215 B(Jump), U8(36), 208 B(Jump), U8(35),
216 B(Ldar), R(6), 209 B(Ldar), R(6),
217 B(Throw), 210 B(Throw),
218 B(LdaUndefined), 211 B(LdrUndefined), R(5),
219 B(Star), R(5),
220 B(LdaTrue), 212 B(LdaTrue),
221 B(Star), R(6), 213 B(Star), R(6),
222 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2), 214 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(5), U8 (2),
223 B(Star), R(3), 215 B(Star), R(3),
224 B(LdaSmi), U8(2), 216 B(LdaSmi), U8(2),
225 B(Star), R(2), 217 B(Star), R(2),
226 B(Jump), U8(14), 218 B(Jump), U8(14),
227 B(LdaSmi), U8(-1), 219 B(LdaSmi), U8(-1),
228 B(Star), R(2), 220 B(Star), R(2),
229 B(Jump), U8(8), 221 B(Jump), U8(8),
230 B(Star), R(3), 222 B(Star), R(3),
231 B(LdaSmi), U8(3), 223 B(LdaSmi), U8(3),
232 B(Star), R(2), 224 B(Star), R(2),
233 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 225 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
234 B(Star), R(4), 226 B(Star), R(4),
235 B(LdaContextSlot), R(context), U8(5), 227 B(LdrContextSlot), R(context), U8(5), R(5),
236 B(Star), R(5),
237 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1), 228 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(5), U8(1),
238 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4 ), U8(1), 229 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(4 ), U8(1),
239 B(LdaZero), 230 B(LdaZero),
240 B(TestEqualStrict), R(2), 231 B(TestEqualStrict), R(2),
241 B(JumpIfTrue), U8(22), 232 B(JumpIfTrue), U8(22),
242 B(LdaSmi), U8(1), 233 B(LdaSmi), U8(1),
243 B(TestEqualStrict), R(2), 234 B(TestEqualStrict), R(2),
244 B(JumpIfTrue), U8(19), 235 B(JumpIfTrue), U8(19),
245 B(LdaSmi), U8(2), 236 B(LdaSmi), U8(2),
246 B(TestEqualStrict), R(2), 237 B(TestEqualStrict), R(2),
(...skipping 10 matching lines...) Expand all
257 /* 25 S> */ B(Return), 248 /* 25 S> */ B(Return),
258 B(Ldar), R(3), 249 B(Ldar), R(3),
259 B(ReThrow), 250 B(ReThrow),
260 B(LdaUndefined), 251 B(LdaUndefined),
261 /* 25 S> */ B(Return), 252 /* 25 S> */ B(Return),
262 ] 253 ]
263 constant pool: [ 254 constant pool: [
264 kInstanceTypeDontCare, 255 kInstanceTypeDontCare,
265 ] 256 ]
266 handlers: [ 257 handlers: [
267 [44, 224, 230], 258 [44, 220, 226],
268 ] 259 ]
269 260
270 --- 261 ---
271 snippet: " 262 snippet: "
272 function* f() { for (let x of [42]) yield x } 263 function* f() { for (let x of [42]) yield x }
273 f(); 264 f();
274 " 265 "
275 frame size: 17 266 frame size: 17
276 parameter count: 1 267 parameter count: 1
277 bytecode array length: 808 268 bytecode array length: 784
278 bytecodes: [ 269 bytecodes: [
279 B(Ldar), R(new_target), 270 B(Ldar), R(new_target),
280 B(JumpIfUndefined), U8(26), 271 B(JumpIfUndefined), U8(26),
281 B(ResumeGenerator), R(new_target), 272 B(ResumeGenerator), R(new_target),
282 B(Star), R(3), 273 B(Star), R(3),
283 B(LdaZero), 274 B(LdaZero),
284 B(TestEqualStrict), R(3), 275 B(TestEqualStrict), R(3),
285 B(JumpIfTrue), U8(63), 276 B(JumpIfTrue), U8(61),
286 B(LdaSmi), U8(1), 277 B(LdaSmi), U8(1),
287 B(TestEqualStrict), R(3), 278 B(TestEqualStrict), R(3),
288 B(JumpIfTrueConstant), U8(3), 279 B(JumpIfTrueConstant), U8(3),
289 B(LdaSmi), U8(76), 280 B(LdaSmi), U8(76),
290 B(Star), R(4), 281 B(Star), R(4),
291 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1), 282 B(CallRuntime), U16(Runtime::kAbort), R(4), U8(1),
292 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1), 283 B(CallRuntime), U16(Runtime::kNewFunctionContext), R(closure), U 8(1),
293 B(PushContext), R(0), 284 B(PushContext), R(0),
294 B(Ldar), R(this), 285 B(Ldar), R(this),
295 B(StaContextSlot), R(context), U8(4), 286 B(StaContextSlot), R(context), U8(4),
296 /* 11 E> */ B(StackCheck), 287 /* 11 E> */ B(StackCheck),
297 B(Mov), R(context), R(6), 288 B(Mov), R(context), R(6),
298 B(Ldar), R(closure), 289 B(Ldar), R(closure),
299 B(Star), R(7), 290 B(Star), R(7),
300 B(LdaContextSlot), R(context), U8(4), 291 B(LdrContextSlot), R(context), U8(4), R(8),
301 B(Star), R(8),
302 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8 (2), 292 B(CallRuntime), U16(Runtime::kCreateJSGeneratorObject), R(7), U8 (2),
303 B(StaContextSlot), R(context), U8(5), 293 B(StaContextSlot), R(context), U8(5),
304 B(Star), R(7), 294 B(Star), R(7),
305 B(LdaContextSlot), R(context), U8(5), 295 B(LdrContextSlot), R(context), U8(5), R(8),
306 B(Star), R(8),
307 B(LdaZero), 296 B(LdaZero),
308 B(SuspendGenerator), R(8), 297 B(SuspendGenerator), R(8),
309 B(Ldar), R(7), 298 B(Ldar), R(7),
310 B(Return), 299 B(Return),
311 B(LdaSmi), U8(-2), 300 B(LdaSmi), U8(-2),
312 B(Star), R(3), 301 B(Star), R(3),
313 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(8), U8(1), 302 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(8), U8(1),
314 B(Star), R(9), 303 B(Star), R(9),
315 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(8), U8 (1), 304 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(8), U8 (1),
316 B(Star), R(10), 305 B(Star), R(10),
(...skipping 24 matching lines...) Expand all
341 B(StaContextSlot), R(context), U8(4), 330 B(StaContextSlot), R(context), U8(4),
342 B(LdaUndefined), 331 B(LdaUndefined),
343 B(StaContextSlot), R(1), U8(10), 332 B(StaContextSlot), R(1), U8(10),
344 B(LdaZero), 333 B(LdaZero),
345 B(StaContextSlot), R(1), U8(9), 334 B(StaContextSlot), R(1), U8(9),
346 B(Mov), R(context), R(9), 335 B(Mov), R(context), R(9),
347 B(Mov), R(context), R(10), 336 B(Mov), R(context), R(10),
348 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(3), 337 /* 30 S> */ B(CreateArrayLiteral), U8(1), U8(0), U8(3),
349 B(Star), R(12), 338 B(Star), R(12),
350 /* 30 E> */ B(LdaConstant), U8(2), 339 /* 30 E> */ B(LdaConstant), U8(2),
351 B(KeyedLoadIC), R(12), U8(3), 340 B(LdrKeyedProperty), R(12), U8(3), R(11),
352 B(Star), R(11),
353 /* 30 E> */ B(Call), R(11), R(12), U8(1), U8(1), 341 /* 30 E> */ B(Call), R(11), R(12), U8(1), U8(1),
354 /* 30 E> */ B(StaContextSlot), R(1), U8(7), 342 /* 30 E> */ B(StaContextSlot), R(1), U8(7),
355 B(LdaSmi), U8(-2), 343 B(LdaSmi), U8(-2),
356 B(TestEqual), R(3), 344 B(TestEqual), R(3),
357 B(JumpIfTrue), U8(17), 345 B(JumpIfTrue), U8(17),
358 B(LdaSmi), U8(1), 346 B(LdaSmi), U8(1),
359 B(TestEqualStrict), R(3), 347 B(TestEqualStrict), R(3),
360 B(JumpIfTrueConstant), U8(9), 348 B(JumpIfTrueConstant), U8(9),
361 B(LdaSmi), U8(76), 349 B(LdaSmi), U8(76),
362 B(Star), R(11), 350 B(Star), R(11),
363 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1), 351 B(CallRuntime), U16(Runtime::kAbort), R(11), U8(1),
364 /* 27 S> */ B(LdaContextSlot), R(1), U8(7), 352 /* 27 S> */ B(LdrContextSlot), R(1), U8(7), R(13),
365 B(Star), R(13), 353 B(LdrNamedProperty), R(13), U8(4), U8(7), R(12),
366 B(LoadIC), R(13), U8(4), U8(7),
367 B(Star), R(12),
368 /* 27 E> */ B(Call), R(12), R(13), U8(1), U8(5), 354 /* 27 E> */ B(Call), R(12), R(13), U8(1), U8(5),
369 /* 27 E> */ B(StaContextSlot), R(1), U8(8), 355 /* 27 E> */ B(StaContextSlot), R(1), U8(8),
370 B(Star), R(11), 356 B(Star), R(11),
371 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1), 357 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(11), U8(1),
372 B(ToBooleanLogicalNot), 358 B(ToBooleanLogicalNot),
373 B(JumpIfFalse), U8(12), 359 B(JumpIfFalse), U8(11),
374 B(LdaContextSlot), R(1), U8(8), 360 B(LdrContextSlot), R(1), U8(8), R(11),
375 B(Star), R(11),
376 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1), 361 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (11), U8(1),
377 B(LdaContextSlot), R(1), U8(8), 362 B(LdrContextSlot), R(1), U8(8), R(11),
378 B(Star), R(11),
379 B(LoadIC), R(11), U8(5), U8(9), 363 B(LoadIC), R(11), U8(5), U8(9),
380 B(JumpIfToBooleanTrueConstant), U8(10), 364 B(JumpIfToBooleanTrueConstant), U8(10),
381 B(LdaSmi), U8(2), 365 B(LdaSmi), U8(2),
382 B(StaContextSlot), R(1), U8(9), 366 B(StaContextSlot), R(1), U8(9),
383 B(LdaContextSlot), R(1), U8(8), 367 B(LdrContextSlot), R(1), U8(8), R(11),
384 B(Star), R(11),
385 B(LoadIC), R(11), U8(6), U8(11), 368 B(LoadIC), R(11), U8(6), U8(11),
386 B(StaContextSlot), R(1), U8(6), 369 B(StaContextSlot), R(1), U8(6),
387 B(LdaContextSlot), R(1), U8(10), 370 B(LdaContextSlot), R(1), U8(10),
388 /* 16 E> */ B(StackCheck), 371 /* 16 E> */ B(StackCheck),
389 B(LdaConstant), U8(7), 372 B(LdaConstant), U8(7),
390 B(Star), R(11), 373 B(Star), R(11),
391 B(Ldar), R(closure), 374 B(Ldar), R(closure),
392 B(Star), R(12), 375 B(Star), R(12),
393 B(CallRuntime), U16(Runtime::kPushBlockContext), R(11), U8(2), 376 B(CallRuntime), U16(Runtime::kPushBlockContext), R(11), U8(2),
394 B(PushContext), R(2), 377 B(PushContext), R(2),
395 B(LdaTheHole), 378 B(LdaTheHole),
396 B(StaContextSlot), R(context), U8(4), 379 B(StaContextSlot), R(context), U8(4),
397 B(LdaContextSlot), R(1), U8(6), 380 B(LdaContextSlot), R(1), U8(6),
398 B(StaContextSlot), R(context), U8(4), 381 B(StaContextSlot), R(context), U8(4),
399 /* 36 S> */ B(LdaContextSlot), R(context), U8(4), 382 /* 36 S> */ B(LdaContextSlot), R(context), U8(4),
400 B(JumpIfNotHole), U8(11), 383 B(JumpIfNotHole), U8(11),
401 B(LdaConstant), U8(8), 384 B(LdaConstant), U8(8),
402 B(Star), R(12), 385 B(Star), R(12),
403 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(12), U8(1) , 386 B(CallRuntime), U16(Runtime::kThrowReferenceError), R(12), U8(1) ,
404 B(Star), R(11), 387 B(Star), R(11),
405 B(LdaFalse), 388 B(LdaFalse),
406 B(Star), R(12), 389 B(Star), R(12),
407 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U 8(2), 390 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(11), U 8(2),
408 B(Star), R(13), 391 B(Star), R(13),
409 B(LdaContextSlot), R(1), U8(5), 392 B(LdrContextSlot), R(1), U8(5), R(11),
410 B(Star), R(11),
411 B(LdaSmi), U8(1), 393 B(LdaSmi), U8(1),
412 B(SuspendGenerator), R(11), 394 B(SuspendGenerator), R(11),
413 B(Ldar), R(13), 395 B(Ldar), R(13),
414 B(Return), 396 B(Return),
415 B(LdaSmi), U8(-2), 397 B(LdaSmi), U8(-2),
416 B(Star), R(3), 398 B(Star), R(3),
417 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(11), U8(1), 399 B(CallRuntime), U16(Runtime::k_GeneratorGetInput), R(11), U8(1),
418 B(Star), R(12), 400 B(Star), R(12),
419 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(11), U 8(1), 401 B(CallRuntime), U16(Runtime::k_GeneratorGetResumeMode), R(11), U 8(1),
420 B(Star), R(14), 402 B(Star), R(14),
(...skipping 11 matching lines...) Expand all
432 B(PopContext), R(2), 414 B(PopContext), R(2),
433 B(PopContext), R(2), 415 B(PopContext), R(2),
434 B(PopContext), R(2), 416 B(PopContext), R(2),
435 B(PopContext), R(2), 417 B(PopContext), R(2),
436 B(PopContext), R(2), 418 B(PopContext), R(2),
437 B(PopContext), R(2), 419 B(PopContext), R(2),
438 B(PopContext), R(2), 420 B(PopContext), R(2),
439 B(Star), R(8), 421 B(Star), R(8),
440 B(LdaZero), 422 B(LdaZero),
441 B(Star), R(7), 423 B(Star), R(7),
442 B(Jump), U8(78), 424 B(Jump), U8(76),
443 B(Ldar), R(12), 425 B(Ldar), R(12),
444 B(Throw), 426 B(Throw),
445 B(Ldar), R(12), 427 B(Ldar), R(12),
446 B(PopContext), R(2), 428 B(PopContext), R(2),
447 B(LdaZero), 429 B(LdaZero),
448 B(StaContextSlot), R(1), U8(9), 430 B(StaContextSlot), R(1), U8(9),
449 B(Wide), B(Jump), U16(-230), 431 B(Wide), B(Jump), U16(-224),
450 B(Jump), U8(49), 432 B(Jump), U8(47),
451 B(Star), R(12), 433 B(Star), R(12),
452 B(LdaConstant), U8(11), 434 B(LdaConstant), U8(11),
453 B(Star), R(11), 435 B(Star), R(11),
454 B(Ldar), R(closure), 436 B(Ldar), R(closure),
455 B(Star), R(13), 437 B(Star), R(13),
456 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3), 438 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3),
457 B(Star), R(10), 439 B(Star), R(10),
458 B(PushContext), R(2), 440 B(PushContext), R(2),
459 B(LdaContextSlot), R(1), U8(9), 441 B(LdrContextSlot), R(1), U8(9), R(11),
460 B(Star), R(11),
461 B(LdaSmi), U8(2), 442 B(LdaSmi), U8(2),
462 B(TestEqualStrict), R(11), 443 B(TestEqualStrict), R(11),
463 B(JumpIfFalse), U8(7), 444 B(JumpIfFalse), U8(7),
464 B(LdaSmi), U8(1), 445 B(LdaSmi), U8(1),
465 B(StaContextSlot), R(1), U8(9), 446 B(StaContextSlot), R(1), U8(9),
466 B(LdaContextSlot), R(context), U8(4), 447 B(LdrContextSlot), R(context), U8(4), R(11),
467 B(Star), R(11),
468 B(CallRuntime), U16(Runtime::kReThrow), R(11), U8(1), 448 B(CallRuntime), U16(Runtime::kReThrow), R(11), U8(1),
469 B(PopContext), R(2), 449 B(PopContext), R(2),
470 B(LdaSmi), U8(-1), 450 B(LdaSmi), U8(-1),
471 B(Star), R(7), 451 B(Star), R(7),
472 B(Jump), U8(8), 452 B(Jump), U8(8),
473 B(Star), R(8), 453 B(Star), R(8),
474 B(LdaSmi), U8(1), 454 B(LdaSmi), U8(1),
475 B(Star), R(7), 455 B(Star), R(7),
476 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 456 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
477 B(Star), R(9), 457 B(Star), R(9),
478 B(LdaContextSlot), R(1), U8(9), 458 B(LdrContextSlot), R(1), U8(9), R(10),
479 B(Star), R(10),
480 B(LdaZero), 459 B(LdaZero),
481 B(TestEqualStrict), R(10), 460 B(TestEqualStrict), R(10),
482 B(JumpIfTrue), U8(10), 461 B(JumpIfTrue), U8(9),
483 B(LdaContextSlot), R(1), U8(7), 462 B(LdrContextSlot), R(1), U8(7), R(10),
484 B(Star), R(10),
485 B(LdaUndefined), 463 B(LdaUndefined),
486 B(TestEqualStrict), R(10), 464 B(TestEqualStrict), R(10),
487 B(ToBooleanLogicalNot), 465 B(ToBooleanLogicalNot),
488 B(JumpIfFalseConstant), U8(16), 466 B(JumpIfFalseConstant), U8(16),
489 B(LdaContextSlot), R(1), U8(7), 467 B(LdrContextSlot), R(1), U8(7), R(10),
490 B(Star), R(10),
491 B(LoadIC), R(10), U8(12), U8(13), 468 B(LoadIC), R(10), U8(12), U8(13),
492 B(StaContextSlot), R(1), U8(11), 469 B(StaContextSlot), R(1), U8(11),
493 B(LdaContextSlot), R(1), U8(11), 470 B(LdrContextSlot), R(1), U8(11), R(10),
494 B(Star), R(10),
495 B(LdaNull), 471 B(LdaNull),
496 B(TestEqual), R(10), 472 B(TestEqual), R(10),
497 B(JumpIfFalse), U8(4), 473 B(JumpIfFalse), U8(4),
498 B(JumpConstant), U8(15), 474 B(JumpConstant), U8(15),
499 B(LdaContextSlot), R(1), U8(9), 475 B(LdrContextSlot), R(1), U8(9), R(10),
500 B(Star), R(10),
501 B(LdaSmi), U8(1), 476 B(LdaSmi), U8(1),
502 B(TestEqualStrict), R(10), 477 B(TestEqualStrict), R(10),
503 B(JumpIfFalse), U8(82), 478 B(JumpIfFalse), U8(80),
504 B(LdaContextSlot), R(1), U8(11), 479 B(LdaContextSlot), R(1), U8(11),
505 B(TypeOf), 480 B(TypeOf),
506 B(Star), R(10), 481 B(Star), R(10),
507 B(LdaConstant), U8(13), 482 B(LdaConstant), U8(13),
508 B(TestEqualStrict), R(10), 483 B(TestEqualStrict), R(10),
509 B(JumpIfFalse), U8(4), 484 B(JumpIfFalse), U8(4),
510 B(Jump), U8(18), 485 B(Jump), U8(18),
511 B(Wide), B(LdaSmi), U16(129), 486 B(Wide), B(LdaSmi), U16(129),
512 B(Star), R(10), 487 B(Star), R(10),
513 B(LdaConstant), U8(14), 488 B(LdaConstant), U8(14),
514 B(Star), R(11), 489 B(Star), R(11),
515 B(CallRuntime), U16(Runtime::kNewTypeError), R(10), U8(2), 490 B(CallRuntime), U16(Runtime::kNewTypeError), R(10), U8(2),
516 B(Throw), 491 B(Throw),
517 B(Mov), R(context), R(10), 492 B(Mov), R(context), R(10),
518 B(LdaContextSlot), R(1), U8(11), 493 B(LdrContextSlot), R(1), U8(11), R(11),
519 B(Star), R(11), 494 B(LdrContextSlot), R(1), U8(7), R(12),
520 B(LdaContextSlot), R(1), U8(7),
521 B(Star), R(12),
522 B(CallRuntime), U16(Runtime::k_Call), R(11), U8(2), 495 B(CallRuntime), U16(Runtime::k_Call), R(11), U8(2),
523 B(Jump), U8(30), 496 B(Jump), U8(30),
524 B(Star), R(12), 497 B(Star), R(12),
525 B(LdaConstant), U8(11), 498 B(LdaConstant), U8(11),
526 B(Star), R(11), 499 B(Star), R(11),
527 B(Ldar), R(closure), 500 B(Ldar), R(closure),
528 B(Star), R(13), 501 B(Star), R(13),
529 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3), 502 B(CallRuntime), U16(Runtime::kPushCatchContext), R(11), U8(3),
530 B(Star), R(10), 503 B(Star), R(10),
531 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 504 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
532 B(Ldar), R(10), 505 B(Ldar), R(10),
533 B(PushContext), R(2), 506 B(PushContext), R(2),
534 B(PopContext), R(2), 507 B(PopContext), R(2),
535 B(Jump), U8(44), 508 B(Jump), U8(40),
536 B(LdaContextSlot), R(1), U8(11), 509 B(LdrContextSlot), R(1), U8(11), R(10),
537 B(Star), R(10), 510 B(LdrContextSlot), R(1), U8(7), R(11),
538 B(LdaContextSlot), R(1), U8(7),
539 B(Star), R(11),
540 B(CallRuntime), U16(Runtime::k_Call), R(10), U8(2), 511 B(CallRuntime), U16(Runtime::k_Call), R(10), U8(2),
541 B(StaContextSlot), R(1), U8(12), 512 B(StaContextSlot), R(1), U8(12),
542 B(LdaContextSlot), R(1), U8(12), 513 B(LdrContextSlot), R(1), U8(12), R(10),
543 B(Star), R(10),
544 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(10), U8(1), 514 B(InvokeIntrinsic), U16(Runtime::k_IsJSReceiver), R(10), U8(1),
545 B(JumpIfToBooleanFalse), U8(4), 515 B(JumpIfToBooleanFalse), U8(4),
546 B(Jump), U8(12), 516 B(Jump), U8(11),
547 B(LdaContextSlot), R(1), U8(12), 517 B(LdrContextSlot), R(1), U8(12), R(10),
548 B(Star), R(10),
549 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1), 518 B(CallRuntime), U16(Runtime::kThrowIteratorResultNotAnObject), R (10), U8(1),
550 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(9 ), U8(1), 519 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(9 ), U8(1),
551 B(LdaZero), 520 B(LdaZero),
552 B(TestEqualStrict), R(7), 521 B(TestEqualStrict), R(7),
553 B(JumpIfTrue), U8(10), 522 B(JumpIfTrue), U8(10),
554 B(LdaSmi), U8(1), 523 B(LdaSmi), U8(1),
555 B(TestEqualStrict), R(7), 524 B(TestEqualStrict), R(7),
556 B(JumpIfTrue), U8(18), 525 B(JumpIfTrue), U8(18),
557 B(Jump), U8(30), 526 B(Jump), U8(30),
558 B(Ldar), R(8), 527 B(Ldar), R(8),
559 B(PopContext), R(1), 528 B(PopContext), R(1),
560 B(PopContext), R(1), 529 B(PopContext), R(1),
561 B(Star), R(5), 530 B(Star), R(5),
562 B(LdaSmi), U8(1), 531 B(LdaSmi), U8(1),
563 B(Star), R(4), 532 B(Star), R(4),
564 B(Jump), U8(49), 533 B(Jump), U8(48),
565 B(Ldar), R(8), 534 B(Ldar), R(8),
566 B(PopContext), R(1), 535 B(PopContext), R(1),
567 B(PopContext), R(1), 536 B(PopContext), R(1),
568 B(Star), R(5), 537 B(Star), R(5),
569 B(LdaSmi), U8(2), 538 B(LdaSmi), U8(2),
570 B(Star), R(4), 539 B(Star), R(4),
571 B(Jump), U8(35), 540 B(Jump), U8(34),
572 B(PopContext), R(1), 541 B(PopContext), R(1),
573 B(LdaUndefined), 542 B(LdrUndefined), R(7),
574 B(Star), R(7),
575 B(LdaTrue), 543 B(LdaTrue),
576 B(Star), R(8), 544 B(Star), R(8),
577 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8 (2), 545 B(CallRuntime), U16(Runtime::k_CreateIterResultObject), R(7), U8 (2),
578 B(Star), R(5), 546 B(Star), R(5),
579 B(LdaSmi), U8(3), 547 B(LdaSmi), U8(3),
580 B(Star), R(4), 548 B(Star), R(4),
581 B(Jump), U8(14), 549 B(Jump), U8(14),
582 B(LdaSmi), U8(-1), 550 B(LdaSmi), U8(-1),
583 B(Star), R(4), 551 B(Star), R(4),
584 B(Jump), U8(8), 552 B(Jump), U8(8),
585 B(Star), R(5), 553 B(Star), R(5),
586 B(LdaSmi), U8(4), 554 B(LdaSmi), U8(4),
587 B(Star), R(4), 555 B(Star), R(4),
588 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0), 556 B(CallRuntime), U16(Runtime::kInterpreterClearPendingMessage), R (0), U8(0),
589 B(Star), R(6), 557 B(Star), R(6),
590 B(LdaContextSlot), R(context), U8(5), 558 B(LdrContextSlot), R(context), U8(5), R(7),
591 B(Star), R(7),
592 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(7), U8(1), 559 B(CallRuntime), U16(Runtime::k_GeneratorClose), R(7), U8(1),
593 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(6 ), U8(1), 560 B(CallRuntime), U16(Runtime::kInterpreterSetPendingMessage), R(6 ), U8(1),
594 B(LdaZero), 561 B(LdaZero),
595 B(TestEqualStrict), R(4), 562 B(TestEqualStrict), R(4),
596 B(JumpIfTrue), U8(28), 563 B(JumpIfTrue), U8(28),
597 B(LdaSmi), U8(1), 564 B(LdaSmi), U8(1),
598 B(TestEqualStrict), R(4), 565 B(TestEqualStrict), R(4),
599 B(JumpIfTrue), U8(25), 566 B(JumpIfTrue), U8(25),
600 B(LdaSmi), U8(2), 567 B(LdaSmi), U8(2),
601 B(TestEqualStrict), R(4), 568 B(TestEqualStrict), R(4),
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 kInstanceTypeDontCare, 601 kInstanceTypeDontCare,
635 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 602 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
636 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 603 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
637 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 604 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
638 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE, 605 InstanceType::ONE_BYTE_INTERNALIZED_STRING_TYPE,
639 kInstanceTypeDontCare, 606 kInstanceTypeDontCare,
640 kInstanceTypeDontCare, 607 kInstanceTypeDontCare,
641 kInstanceTypeDontCare, 608 kInstanceTypeDontCare,
642 ] 609 ]
643 handlers: [ 610 handlers: [
644 [44, 726, 732], 611 [44, 703, 709],
645 [156, 462, 468], 612 [154, 451, 457],
646 [159, 413, 415], 613 [157, 404, 406],
647 [570, 585, 587], 614 [554, 567, 569],
648 ] 615 ]
649 616
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698