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

Side by Side Diff: runtime/vm/intermediate_language_ia32.cc

Issue 10458027: Started new compiler for ia32. Getters and setters can be intrinsified within the new compiler. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32. 5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_IA32.
6 #if defined(TARGET_ARCH_IA32) 6 #if defined(TARGET_ARCH_IA32)
7 7
8 #include "vm/flow_graph_compiler.h" 8 #include "vm/flow_graph_compiler.h"
9 #include "vm/locations.h" 9 #include "vm/locations.h"
10 10
11 #define __ compiler->assembler()-> 11 #define __ compiler->assembler()->
12 12
13 namespace dart { 13 namespace dart {
14 14
15
16 #define DEFINE_UNIMPLEMENTED(ShortName, ClassName) \
17 LocationSummary* ClassName::MakeLocationSummary() const { \
18 UNIMPLEMENTED(); \
19 return NULL; \
20 } \
21 \
22 void ClassName::EmitNativeCode(FlowGraphCompiler* compiler) { \
23 UNIMPLEMENTED(); \
24 }
25
26 FOR_EACH_COMPUTATION(DEFINE_UNIMPLEMENTED)
27
28 void BindInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 15 void BindInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
29 UNIMPLEMENTED(); 16 UNIMPLEMENTED();
30 } 17 }
31 18
32 19
20 LocationSummary* CurrentContextComp::MakeLocationSummary() const {
21 return NULL;
22 }
23
24
25 void CurrentContextComp::EmitNativeCode(FlowGraphCompiler* compile) {
26 UNIMPLEMENTED();
27 }
28
29
30 LocationSummary* StoreContextComp::MakeLocationSummary() const {
31 return NULL;
32 }
33
34
35 void StoreContextComp::EmitNativeCode(FlowGraphCompiler* compile) {
36 UNIMPLEMENTED();
37 }
38
39
40 LocationSummary* StrictCompareComp::MakeLocationSummary() const {
41 return NULL;
42 }
43
44
45 void StrictCompareComp::EmitNativeCode(FlowGraphCompiler* compile) {
46 UNIMPLEMENTED();
47 }
48
49
50 LocationSummary* ClosureCallComp::MakeLocationSummary() const {
51 return NULL;
52 }
53
54
55 void ClosureCallComp::EmitNativeCode(FlowGraphCompiler* compile) {
56 UNIMPLEMENTED();
57 }
58
59
60 LocationSummary* InstanceCallComp::MakeLocationSummary() const {
61 return NULL;
62 }
63
64
65 void InstanceCallComp::EmitNativeCode(FlowGraphCompiler* compile) {
66 UNIMPLEMENTED();
67 }
68
69
70 LocationSummary* StaticCallComp::MakeLocationSummary() const {
71 return NULL;
72 }
73
74
75 void StaticCallComp::EmitNativeCode(FlowGraphCompiler* compile) {
76 UNIMPLEMENTED();
77 }
78
79
80 LocationSummary* LoadLocalComp::MakeLocationSummary() const {
81 return NULL;
82 }
83
84
85 void LoadLocalComp::EmitNativeCode(FlowGraphCompiler* compile) {
86 UNIMPLEMENTED();
87 }
88
89
90 LocationSummary* StoreLocalComp::MakeLocationSummary() const {
91 return NULL;
92 }
93
94
95 void StoreLocalComp::EmitNativeCode(FlowGraphCompiler* compile) {
96 UNIMPLEMENTED();
97 }
98
99
100 LocationSummary* ConstantVal::MakeLocationSummary() const {
101 return NULL;
102 }
103
104
105 void ConstantVal::EmitNativeCode(FlowGraphCompiler* compile) {
106 UNIMPLEMENTED();
107 }
108
109
110 LocationSummary* UseVal::MakeLocationSummary() const {
111 return NULL;
112 }
113
114
115 void UseVal::EmitNativeCode(FlowGraphCompiler* compile) {
116 UNIMPLEMENTED();
117 }
118
119
120 LocationSummary* AssertAssignableComp::MakeLocationSummary() const {
121 return NULL;
122 }
123
124
125 void AssertAssignableComp::EmitNativeCode(FlowGraphCompiler* compile) {
126 UNIMPLEMENTED();
127 }
128
129
130 LocationSummary* AssertBooleanComp::MakeLocationSummary() const {
131 return NULL;
132 }
133
134
135 void AssertBooleanComp::EmitNativeCode(FlowGraphCompiler* compile) {
136 UNIMPLEMENTED();
137 }
138
139
140 LocationSummary* EqualityCompareComp::MakeLocationSummary() const {
141 return NULL;
142 }
143
144
145 void EqualityCompareComp::EmitNativeCode(FlowGraphCompiler* compile) {
146 UNIMPLEMENTED();
147 }
148
149
150 LocationSummary* NativeCallComp::MakeLocationSummary() const {
151 return NULL;
152 }
153
154
155 void NativeCallComp::EmitNativeCode(FlowGraphCompiler* compile) {
156 UNIMPLEMENTED();
157 }
158
159
160 LocationSummary* StoreIndexedComp::MakeLocationSummary() const {
161 return NULL;
162 }
163
164
165 void StoreIndexedComp::EmitNativeCode(FlowGraphCompiler* compile) {
166 UNIMPLEMENTED();
167 }
168
169
170 LocationSummary* InstanceSetterComp::MakeLocationSummary() const {
171 return NULL;
172 }
173
174
175 void InstanceSetterComp::EmitNativeCode(FlowGraphCompiler* compile) {
176 UNIMPLEMENTED();
177 }
178
179
180 LocationSummary* StaticSetterComp::MakeLocationSummary() const {
181 return NULL;
182 }
183
184
185 void StaticSetterComp::EmitNativeCode(FlowGraphCompiler* compile) {
186 UNIMPLEMENTED();
187 }
188
189
190 LocationSummary* LoadInstanceFieldComp::MakeLocationSummary() const {
191 return NULL;
192 }
193
194
195 void LoadInstanceFieldComp::EmitNativeCode(FlowGraphCompiler* compile) {
196 UNIMPLEMENTED();
197 }
198
199
200 LocationSummary* StoreInstanceFieldComp::MakeLocationSummary() const {
201 return NULL;
202 }
203
204
205 void StoreInstanceFieldComp::EmitNativeCode(FlowGraphCompiler* compile) {
206 UNIMPLEMENTED();
207 }
208
209
210 LocationSummary* LoadStaticFieldComp::MakeLocationSummary() const {
211 return NULL;
212 }
213
214
215 void LoadStaticFieldComp::EmitNativeCode(FlowGraphCompiler* compile) {
216 UNIMPLEMENTED();
217 }
218
219
220 LocationSummary* StoreStaticFieldComp::MakeLocationSummary() const {
221 return NULL;
222 }
223
224
225 void StoreStaticFieldComp::EmitNativeCode(FlowGraphCompiler* compile) {
226 UNIMPLEMENTED();
227 }
228
229
230 LocationSummary* BooleanNegateComp::MakeLocationSummary() const {
231 return NULL;
232 }
233
234
235 void BooleanNegateComp::EmitNativeCode(FlowGraphCompiler* compile) {
236 UNIMPLEMENTED();
237 }
238
239
240 LocationSummary* InstanceOfComp::MakeLocationSummary() const {
241 return NULL;
242 }
243
244
245 void InstanceOfComp::EmitNativeCode(FlowGraphCompiler* compile) {
246 UNIMPLEMENTED();
247 }
248
249
250 LocationSummary* CreateArrayComp::MakeLocationSummary() const {
251 return NULL;
252 }
253
254
255 void CreateArrayComp::EmitNativeCode(FlowGraphCompiler* compile) {
256 UNIMPLEMENTED();
257 }
258
259
260 LocationSummary* CreateClosureComp::MakeLocationSummary() const {
261 return NULL;
262 }
263
264
265 void CreateClosureComp::EmitNativeCode(FlowGraphCompiler* compile) {
266 UNIMPLEMENTED();
267 }
268
269
270 LocationSummary* AllocateObjectComp::MakeLocationSummary() const {
271 return NULL;
272 }
273
274
275 void AllocateObjectComp::EmitNativeCode(FlowGraphCompiler* compile) {
276 UNIMPLEMENTED();
277 }
278
279
280 LocationSummary*
281 AllocateObjectWithBoundsCheckComp::MakeLocationSummary() const {
282 return NULL;
283 }
284
285
286 void AllocateObjectWithBoundsCheckComp::EmitNativeCode(
287 FlowGraphCompiler* compile) {
288 UNIMPLEMENTED();
289 }
290
291
292 LocationSummary* LoadVMFieldComp::MakeLocationSummary() const {
293 return NULL;
294 }
295
296
297 void LoadVMFieldComp::EmitNativeCode(FlowGraphCompiler* compile) {
298 UNIMPLEMENTED();
299 }
300
301
302 LocationSummary* StoreVMFieldComp::MakeLocationSummary() const {
303 return NULL;
304 }
305
306
307 void StoreVMFieldComp::EmitNativeCode(FlowGraphCompiler* compile) {
308 UNIMPLEMENTED();
309 }
310
311
312 LocationSummary* InstantiateTypeArgumentsComp::MakeLocationSummary() const {
313 return NULL;
314 }
315
316
317 void InstantiateTypeArgumentsComp::EmitNativeCode(
318 FlowGraphCompiler* compile) {
319 UNIMPLEMENTED();
320 }
321
322
323 LocationSummary*
324 ExtractConstructorTypeArgumentsComp::MakeLocationSummary() const {
325 return NULL;
326 }
327
328
329 void ExtractConstructorTypeArgumentsComp::EmitNativeCode(
330 FlowGraphCompiler* compile) {
331 UNIMPLEMENTED();
332 }
333
334
335 LocationSummary*
336 ExtractConstructorInstantiatorComp::MakeLocationSummary() const {
337 return NULL;
338 }
339
340
341 void ExtractConstructorInstantiatorComp::EmitNativeCode(
342 FlowGraphCompiler* compile) {
343 UNIMPLEMENTED();
344 }
345
346
347 LocationSummary* AllocateContextComp::MakeLocationSummary() const {
348 return NULL;
349 }
350
351
352 void AllocateContextComp::EmitNativeCode(FlowGraphCompiler* compile) {
353 UNIMPLEMENTED();
354 }
355
356
357 LocationSummary* ChainContextComp::MakeLocationSummary() const {
358 return NULL;
359 }
360
361
362 void ChainContextComp::EmitNativeCode(FlowGraphCompiler* compile) {
363 UNIMPLEMENTED();
364 }
365
366
367 LocationSummary* CloneContextComp::MakeLocationSummary() const {
368 return NULL;
369 }
370
371
372 void CloneContextComp::EmitNativeCode(FlowGraphCompiler* compile) {
373 UNIMPLEMENTED();
374 }
375
376
377 LocationSummary* CatchEntryComp::MakeLocationSummary() const {
378 return NULL;
379 }
380
381
382 void CatchEntryComp::EmitNativeCode(FlowGraphCompiler* compile) {
383 UNIMPLEMENTED();
384 }
385
386
387 LocationSummary* BinaryOpComp::MakeLocationSummary() const {
388 return NULL;
389 }
390
391
392 void BinaryOpComp::EmitNativeCode(FlowGraphCompiler* compile) {
393 UNIMPLEMENTED();
394 }
395
396
33 } // namespace dart 397 } // namespace dart
34 398
35 #undef __ 399 #undef __
36 400
37 #endif // defined TARGET_ARCH_X64 401 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698