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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/intermediate_language.h ('k') | runtime/vm/intermediate_language_x64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/intermediate_language_ia32.cc
diff --git a/runtime/vm/intermediate_language_ia32.cc b/runtime/vm/intermediate_language_ia32.cc
index ffcbaf243ac9f332e0ce4a706884f257df06f425..654fdee2b16561c5196730b08af375def01d01e0 100644
--- a/runtime/vm/intermediate_language_ia32.cc
+++ b/runtime/vm/intermediate_language_ia32.cc
@@ -13,55 +13,28 @@
namespace dart {
-LocationSummary* StrictCompareComp::MakeLocationSummary() {
- UNIMPLEMENTED();
- return NULL;
-}
-
-
-void StrictCompareComp::EmitNativeCode(FlowGraphCompiler* compiler) {
- UNIMPLEMENTED();
-}
-
+#define DEFINE_UNIMPLEMENTED(name) \
+ LocationSummary* name::MakeLocationSummary() { \
+ UNIMPLEMENTED(); \
+ return NULL; \
+ } \
+ \
+ void name::EmitNativeCode(FlowGraphCompiler* compiler) { \
+ UNIMPLEMENTED(); \
+ }
+
+DEFINE_UNIMPLEMENTED(StrictCompareComp)
+DEFINE_UNIMPLEMENTED(ClosureCallComp)
+DEFINE_UNIMPLEMENTED(InstanceCallComp)
+DEFINE_UNIMPLEMENTED(StaticCallComp)
+DEFINE_UNIMPLEMENTED(CurrentContextComp)
+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
void BindInstr::EmitNativeCode(FlowGraphCompiler* compiler) {
UNIMPLEMENTED();
}
-LocationSummary* ClosureCallComp::MakeLocationSummary() {
- UNIMPLEMENTED();
- return NULL;
-}
-
-
-void ClosureCallComp::EmitNativeCode(FlowGraphCompiler* compiler) {
- UNIMPLEMENTED();
-}
-
-
-LocationSummary* InstanceCallComp::MakeLocationSummary() {
- UNIMPLEMENTED();
- return NULL;
-}
-
-
-void InstanceCallComp::EmitNativeCode(FlowGraphCompiler* compiler) {
- UNIMPLEMENTED();
-}
-
-
-LocationSummary* StaticCallComp::MakeLocationSummary() {
- UNIMPLEMENTED();
- return NULL;
-}
-
-
-void StaticCallComp::EmitNativeCode(FlowGraphCompiler* compiler) {
- UNIMPLEMENTED();
-}
-
-
} // namespace dart
#undef __
« 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