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

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

Issue 11956004: Fix vm code base so that it can be built for --arch=simarm (no snapshot yet). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 11 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
OLDNEW
(Empty)
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
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.
4
5 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
6 #if defined(TARGET_ARCH_ARM)
7
8 #include "vm/intermediate_language.h"
9
10 #include "lib/error.h"
11 #include "vm/dart_entry.h"
12 #include "vm/flow_graph_compiler.h"
13 #include "vm/locations.h"
14 #include "vm/object_store.h"
15 #include "vm/parser.h"
16 #include "vm/stub_code.h"
17 #include "vm/symbols.h"
18
19 namespace dart {
20
21 DECLARE_FLAG(int, optimization_counter_threshold);
22 DECLARE_FLAG(bool, propagate_ic_data);
23
24 LocationSummary* Instruction::MakeCallSummary() {
25 UNIMPLEMENTED();
26 return NULL;
27 }
28
29
30 LocationSummary* PushArgumentInstr::MakeLocationSummary() const {
31 UNIMPLEMENTED();
32 return NULL;
33 }
34
35
36 void PushArgumentInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
37 UNIMPLEMENTED();
38 }
39
40
41 LocationSummary* ReturnInstr::MakeLocationSummary() const {
42 UNIMPLEMENTED();
43 return NULL;
44 }
45
46
47 void ReturnInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
48 UNIMPLEMENTED();
49 }
50
51
52 LocationSummary* ClosureCallInstr::MakeLocationSummary() const {
53 UNIMPLEMENTED();
54 return NULL;
55 }
56
57
58 LocationSummary* LoadLocalInstr::MakeLocationSummary() const {
59 UNIMPLEMENTED();
60 return NULL;
61 }
62
63
64 void LoadLocalInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
65 UNIMPLEMENTED();
66 }
67
68
69 LocationSummary* StoreLocalInstr::MakeLocationSummary() const {
70 UNIMPLEMENTED();
71 return NULL;
72 }
73
74
75 void StoreLocalInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
76 UNIMPLEMENTED();
77 }
78
79
80 LocationSummary* ConstantInstr::MakeLocationSummary() const {
81 UNIMPLEMENTED();
82 return NULL;
83 }
84
85
86 void ConstantInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
87 UNIMPLEMENTED();
88 }
89
90
91 LocationSummary* AssertAssignableInstr::MakeLocationSummary() const {
92 UNIMPLEMENTED();
93 return NULL;
94 }
95
96
97 LocationSummary* AssertBooleanInstr::MakeLocationSummary() const {
98 UNIMPLEMENTED();
99 return NULL;
100 }
101
102
103 void AssertBooleanInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
104 UNIMPLEMENTED();
105 }
106
107
108 LocationSummary* ArgumentDefinitionTestInstr::MakeLocationSummary() const {
109 UNIMPLEMENTED();
110 return NULL;
111 }
112
113
114 void ArgumentDefinitionTestInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
115 UNIMPLEMENTED();
116 }
117
118
119 LocationSummary* EqualityCompareInstr::MakeLocationSummary() const {
120 UNIMPLEMENTED();
121 return NULL;
122 }
123
124
125 void EqualityCompareInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
126 UNIMPLEMENTED();
127 }
128
129
130 void EqualityCompareInstr::EmitBranchCode(FlowGraphCompiler* compiler,
131 BranchInstr* branch) {
132 UNIMPLEMENTED();
133 }
134
135
136 LocationSummary* RelationalOpInstr::MakeLocationSummary() const {
137 UNIMPLEMENTED();
138 return NULL;
139 }
140
141
142 void RelationalOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
143 UNIMPLEMENTED();
144 }
145
146
147 void RelationalOpInstr::EmitBranchCode(FlowGraphCompiler* compiler,
148 BranchInstr* branch) {
149 UNIMPLEMENTED();
150 }
151
152
153 LocationSummary* NativeCallInstr::MakeLocationSummary() const {
154 UNIMPLEMENTED();
155 return NULL;
156 }
157
158
159 void NativeCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
160 UNIMPLEMENTED();
161 }
162
163
164 LocationSummary* StringCharCodeAtInstr::MakeLocationSummary() const {
165 UNIMPLEMENTED();
166 return NULL;
167 }
168
169
170 void StringCharCodeAtInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
171 UNIMPLEMENTED();
172 }
173
174
175 LocationSummary* StringFromCharCodeInstr::MakeLocationSummary() const {
176 UNIMPLEMENTED();
177 return NULL;
178 }
179
180
181 void StringFromCharCodeInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
182 UNIMPLEMENTED();
183 }
184
185
186 LocationSummary* LoadIndexedInstr::MakeLocationSummary() const {
187 UNIMPLEMENTED();
188 return NULL;
189 }
190
191
192 void LoadIndexedInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
193 UNIMPLEMENTED();
194 }
195
196
197 LocationSummary* StoreIndexedInstr::MakeLocationSummary() const {
198 UNIMPLEMENTED();
199 return NULL;
200 }
201
202
203 void StoreIndexedInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
204 UNIMPLEMENTED();
205 }
206
207
208 LocationSummary* StoreInstanceFieldInstr::MakeLocationSummary() const {
209 UNIMPLEMENTED();
210 return NULL;
211 }
212
213
214 void StoreInstanceFieldInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
215 UNIMPLEMENTED();
216 }
217
218
219 LocationSummary* LoadStaticFieldInstr::MakeLocationSummary() const {
220 UNIMPLEMENTED();
221 return NULL;
222 }
223
224
225 void LoadStaticFieldInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
226 UNIMPLEMENTED();
227 }
228
229
230 LocationSummary* StoreStaticFieldInstr::MakeLocationSummary() const {
231 UNIMPLEMENTED();
232 return NULL;
233 }
234
235
236 void StoreStaticFieldInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
237 UNIMPLEMENTED();
238 }
239
240
241 LocationSummary* InstanceOfInstr::MakeLocationSummary() const {
242 UNIMPLEMENTED();
243 return NULL;
244 }
245
246
247 void InstanceOfInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
248 UNIMPLEMENTED();
249 }
250
251
252 LocationSummary* CreateArrayInstr::MakeLocationSummary() const {
253 UNIMPLEMENTED();
254 return NULL;
255 }
256
257
258 void CreateArrayInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
259 UNIMPLEMENTED();
260 }
261
262
263 LocationSummary*
264 AllocateObjectWithBoundsCheckInstr::MakeLocationSummary() const {
265 UNIMPLEMENTED();
266 return NULL;
267 }
268
269
270 void AllocateObjectWithBoundsCheckInstr::EmitNativeCode(
271 FlowGraphCompiler* compiler) {
272 UNIMPLEMENTED();
273 }
274
275
276 LocationSummary* LoadFieldInstr::MakeLocationSummary() const {
277 UNIMPLEMENTED();
278 return NULL;
279 }
280
281
282 void LoadFieldInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
283 UNIMPLEMENTED();
284 }
285
286
287 LocationSummary* InstantiateTypeArgumentsInstr::MakeLocationSummary() const {
288 UNIMPLEMENTED();
289 return NULL;
290 }
291
292
293 void InstantiateTypeArgumentsInstr::EmitNativeCode(
294 FlowGraphCompiler* compiler) {
295 UNIMPLEMENTED();
296 }
297
298
299 LocationSummary*
300 ExtractConstructorTypeArgumentsInstr::MakeLocationSummary() const {
301 UNIMPLEMENTED();
302 return NULL;
303 }
304
305
306 void ExtractConstructorTypeArgumentsInstr::EmitNativeCode(
307 FlowGraphCompiler* compiler) {
308 UNIMPLEMENTED();
309 }
310
311
312 LocationSummary*
313 ExtractConstructorInstantiatorInstr::MakeLocationSummary() const {
314 UNIMPLEMENTED();
315 return NULL;
316 }
317
318
319 void ExtractConstructorInstantiatorInstr::EmitNativeCode(
320 FlowGraphCompiler* compiler) {
321 UNIMPLEMENTED();
322 }
323
324
325 LocationSummary* AllocateContextInstr::MakeLocationSummary() const {
326 UNIMPLEMENTED();
327 return NULL;
328 }
329
330
331 void AllocateContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
332 UNIMPLEMENTED();
333 }
334
335
336 LocationSummary* CloneContextInstr::MakeLocationSummary() const {
337 UNIMPLEMENTED();
338 return NULL;
339 }
340
341
342 void CloneContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
343 UNIMPLEMENTED();
344 }
345
346
347 LocationSummary* CatchEntryInstr::MakeLocationSummary() const {
348 UNIMPLEMENTED();
349 return NULL;
350 }
351
352
353 void CatchEntryInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
354 UNIMPLEMENTED();
355 }
356
357
358 LocationSummary* CheckStackOverflowInstr::MakeLocationSummary() const {
359 UNIMPLEMENTED();
360 return NULL;
361 }
362
363
364 void CheckStackOverflowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
365 UNIMPLEMENTED();
366 }
367
368
369 LocationSummary* BinarySmiOpInstr::MakeLocationSummary() const {
370 UNIMPLEMENTED();
371 return NULL;
372 }
373
374
375 void BinarySmiOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
376 UNIMPLEMENTED();
377 }
378
379
380 LocationSummary* CheckEitherNonSmiInstr::MakeLocationSummary() const {
381 UNIMPLEMENTED();
382 return NULL;
383 }
384
385
386 void CheckEitherNonSmiInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
387 UNIMPLEMENTED();
388 }
389
390
391 LocationSummary* BoxDoubleInstr::MakeLocationSummary() const {
392 UNIMPLEMENTED();
393 return NULL;
394 }
395
396
397 void BoxDoubleInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
398 UNIMPLEMENTED();
399 }
400
401
402 LocationSummary* UnboxDoubleInstr::MakeLocationSummary() const {
403 UNIMPLEMENTED();
404 return NULL;
405 }
406
407
408 void UnboxDoubleInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
409 UNIMPLEMENTED();
410 }
411
412
413 LocationSummary* BinaryDoubleOpInstr::MakeLocationSummary() const {
414 UNIMPLEMENTED();
415 return NULL;
416 }
417
418
419 void BinaryDoubleOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
420 UNIMPLEMENTED();
421 }
422
423
424 LocationSummary* MathSqrtInstr::MakeLocationSummary() const {
425 UNIMPLEMENTED();
426 return NULL;
427 }
428
429
430 void MathSqrtInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
431 UNIMPLEMENTED();
432 }
433
434
435 LocationSummary* UnarySmiOpInstr::MakeLocationSummary() const {
436 UNIMPLEMENTED();
437 return NULL;
438 }
439
440
441 void UnarySmiOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
442 UNIMPLEMENTED();
443 }
444
445
446 LocationSummary* SmiToDoubleInstr::MakeLocationSummary() const {
447 UNIMPLEMENTED();
448 return NULL;
449 }
450
451
452 void SmiToDoubleInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
453 UNIMPLEMENTED();
454 }
455
456
457 LocationSummary* DoubleToIntegerInstr::MakeLocationSummary() const {
458 UNIMPLEMENTED();
459 return NULL;
460 }
461
462
463 void DoubleToIntegerInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
464 UNIMPLEMENTED();
465 }
466
467
468 LocationSummary* DoubleToSmiInstr::MakeLocationSummary() const {
469 UNIMPLEMENTED();
470 return NULL;
471 }
472
473
474 void DoubleToSmiInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
475 UNIMPLEMENTED();
476 }
477
478
479 LocationSummary* DoubleToDoubleInstr::MakeLocationSummary() const {
480 UNIMPLEMENTED();
481 return NULL;
482 }
483
484
485 void DoubleToDoubleInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
486 UNIMPLEMENTED();
487 }
488
489
490 LocationSummary* PolymorphicInstanceCallInstr::MakeLocationSummary() const {
491 UNIMPLEMENTED();
492 return NULL;
493 }
494
495
496 void PolymorphicInstanceCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
497 UNIMPLEMENTED();
498 }
499
500
501 LocationSummary* BranchInstr::MakeLocationSummary() const {
502 UNREACHABLE();
503 return NULL;
504 }
505
506
507 void BranchInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
508 UNIMPLEMENTED();
509 }
510
511
512 LocationSummary* CheckClassInstr::MakeLocationSummary() const {
513 UNIMPLEMENTED();
514 return NULL;
515 }
516
517
518 void CheckClassInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
519 UNIMPLEMENTED();
520 }
521
522
523 LocationSummary* CheckSmiInstr::MakeLocationSummary() const {
524 UNIMPLEMENTED();
525 return NULL;
526 }
527
528
529 void CheckSmiInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
530 UNIMPLEMENTED();
531 }
532
533
534 LocationSummary* CheckArrayBoundInstr::MakeLocationSummary() const {
535 UNIMPLEMENTED();
536 return NULL;
537 }
538
539
540 void CheckArrayBoundInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
541 UNIMPLEMENTED();
542 }
543
544
545 LocationSummary* UnboxIntegerInstr::MakeLocationSummary() const {
546 UNIMPLEMENTED();
547 return NULL;
548 }
549
550
551 void UnboxIntegerInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
552 UNIMPLEMENTED();
553 }
554
555
556 LocationSummary* BoxIntegerInstr::MakeLocationSummary() const {
557 UNIMPLEMENTED();
558 return NULL;
559 }
560
561
562 void BoxIntegerInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
563 UNIMPLEMENTED();
564 }
565
566
567 LocationSummary* BinaryMintOpInstr::MakeLocationSummary() const {
568 UNIMPLEMENTED();
569 return NULL;
570 }
571
572
573 void BinaryMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
574 UNIMPLEMENTED();
575 }
576
577
578 LocationSummary* ShiftMintOpInstr::MakeLocationSummary() const {
579 UNIMPLEMENTED();
580 return NULL;
581 }
582
583
584 void ShiftMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
585 UNIMPLEMENTED();
586 }
587
588
589 LocationSummary* UnaryMintOpInstr::MakeLocationSummary() const {
590 UNIMPLEMENTED();
591 return NULL;
592 }
593
594
595 void UnaryMintOpInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
596 UNIMPLEMENTED();
597 }
598
599
600 LocationSummary* ThrowInstr::MakeLocationSummary() const {
601 UNIMPLEMENTED();
602 return NULL;
603 }
604
605
606
607 void ThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
608 UNIMPLEMENTED();
609 }
610
611
612 LocationSummary* ReThrowInstr::MakeLocationSummary() const {
613 UNIMPLEMENTED();
614 return NULL;
615 }
616
617
618 void ReThrowInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
619 UNIMPLEMENTED();
620 }
621
622
623 LocationSummary* GotoInstr::MakeLocationSummary() const {
624 UNIMPLEMENTED();
625 return NULL;
626 }
627
628
629 void GotoInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
630 UNIMPLEMENTED();
631 }
632
633
634 void ControlInstruction::EmitBranchOnValue(FlowGraphCompiler* compiler,
635 bool value) {
636 UNIMPLEMENTED();
637 }
638
639
640 void ControlInstruction::EmitBranchOnCondition(FlowGraphCompiler* compiler,
641 Condition true_condition) {
642 UNIMPLEMENTED();
643 }
644
645
646 LocationSummary* CurrentContextInstr::MakeLocationSummary() const {
647 UNIMPLEMENTED();
648 return NULL;
649 }
650
651
652 void CurrentContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
653 UNIMPLEMENTED();
654 }
655
656
657 LocationSummary* StrictCompareInstr::MakeLocationSummary() const {
658 UNIMPLEMENTED();
659 return NULL;
660 }
661
662
663 void StrictCompareInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
664 UNIMPLEMENTED();
665 }
666
667
668 void StrictCompareInstr::EmitBranchCode(FlowGraphCompiler* compiler,
669 BranchInstr* branch) {
670 UNIMPLEMENTED();
671 }
672
673
674 void ClosureCallInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
675 UNIMPLEMENTED();
676 }
677
678
679 LocationSummary* BooleanNegateInstr::MakeLocationSummary() const {
680 UNIMPLEMENTED();
681 return NULL;
682 }
683
684
685 void BooleanNegateInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
686 UNIMPLEMENTED();
687 }
688
689
690 LocationSummary* ChainContextInstr::MakeLocationSummary() const {
691 UNIMPLEMENTED();
692 return NULL;
693 }
694
695
696 void ChainContextInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
697 UNIMPLEMENTED();
698 }
699
700
701 LocationSummary* StoreVMFieldInstr::MakeLocationSummary() const {
702 UNIMPLEMENTED();
703 return NULL;
704 }
705
706
707 void StoreVMFieldInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
708 UNIMPLEMENTED();
709 }
710
711
712 LocationSummary* AllocateObjectInstr::MakeLocationSummary() const {
713 UNIMPLEMENTED();
714 return NULL;
715 }
716
717
718 void AllocateObjectInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
719 UNIMPLEMENTED();
720 }
721
722
723 LocationSummary* CreateClosureInstr::MakeLocationSummary() const {
724 UNIMPLEMENTED();
725 return NULL;
726 }
727
728
729 void CreateClosureInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
730 UNIMPLEMENTED();
731 }
732
733 } // namespace dart
734
735 #endif // defined TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698