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

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

Issue 10416031: Convert CurrentContext and StoreContext to locations code generation scheme (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | 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 15
16 LocationSummary* StrictCompareComp::MakeLocationSummary() { 16 #define DEFINE_UNIMPLEMENTED(name) \
17 UNIMPLEMENTED(); 17 LocationSummary* name::MakeLocationSummary() { \
18 return NULL; 18 UNIMPLEMENTED(); \
19 } 19 return NULL; \
20 } \
21 \
22 void name::EmitNativeCode(FlowGraphCompiler* compiler) { \
23 UNIMPLEMENTED(); \
24 }
20 25
21 26 DEFINE_UNIMPLEMENTED(StrictCompareComp)
22 void StrictCompareComp::EmitNativeCode(FlowGraphCompiler* compiler) { 27 DEFINE_UNIMPLEMENTED(ClosureCallComp)
23 UNIMPLEMENTED(); 28 DEFINE_UNIMPLEMENTED(InstanceCallComp)
24 } 29 DEFINE_UNIMPLEMENTED(StaticCallComp)
25 30 DEFINE_UNIMPLEMENTED(CurrentContextComp)
31 DEFINE_UNIMPLEMENTED(StoreContextComp)
srdjan 2012/05/22 16:56:22 All those need toi be Bailouts. Maybe next CL.
Vyacheslav Egorov (Google) 2012/05/22 18:40:14 It's a logical error to call EmitNativeCode if loc
26 32
27 void BindInstr::EmitNativeCode(FlowGraphCompiler* compiler) { 33 void BindInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
28 UNIMPLEMENTED(); 34 UNIMPLEMENTED();
29 } 35 }
30 36
31 37
32 LocationSummary* ClosureCallComp::MakeLocationSummary() {
33 UNIMPLEMENTED();
34 return NULL;
35 }
36
37
38 void ClosureCallComp::EmitNativeCode(FlowGraphCompiler* compiler) {
39 UNIMPLEMENTED();
40 }
41
42
43 LocationSummary* InstanceCallComp::MakeLocationSummary() {
44 UNIMPLEMENTED();
45 return NULL;
46 }
47
48
49 void InstanceCallComp::EmitNativeCode(FlowGraphCompiler* compiler) {
50 UNIMPLEMENTED();
51 }
52
53
54 LocationSummary* StaticCallComp::MakeLocationSummary() {
55 UNIMPLEMENTED();
56 return NULL;
57 }
58
59
60 void StaticCallComp::EmitNativeCode(FlowGraphCompiler* compiler) {
61 UNIMPLEMENTED();
62 }
63
64
65 } // namespace dart 38 } // namespace dart
66 39
67 #undef __ 40 #undef __
68 41
69 #endif // defined TARGET_ARCH_X64 42 #endif // defined TARGET_ARCH_X64
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698