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

Unified Diff: runtime/vm/intermediate_language.h

Issue 10389041: Adapt compile time constants and integrate with Kevin's CL 10302007 (Remove temporaries using expli… (Closed) Base URL: http://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
Index: runtime/vm/intermediate_language.h
===================================================================
--- runtime/vm/intermediate_language.h (revision 7463)
+++ runtime/vm/intermediate_language.h (working copy)
@@ -19,7 +19,6 @@
// M is a two argument macro. It is applied to each concrete value's
// typename and classname.
#define FOR_EACH_VALUE(M) \
- M(Temp, TempVal) \
M(Use, UseVal) \
M(Constant, ConstantVal) \
@@ -164,21 +163,6 @@
virtual ShortName##Val* As##ShortName() { return this; }
-class TempVal : public Value {
- public:
- explicit TempVal(intptr_t index) : index_(index) { }
-
- DECLARE_VALUE(Temp)
-
- intptr_t index() const { return index_; }
-
- private:
- const intptr_t index_;
-
- DISALLOW_COPY_AND_ASSIGN(TempVal);
-};
-
-
// Definitions and uses are mutually recursive.
class Definition;
@@ -324,7 +308,7 @@
try_index_(try_index),
context_(context),
arguments_(arguments) {
- ASSERT(context->IsTemp() || context->IsUse());
+ ASSERT(context->IsUse());
}
DECLARE_COMPUTATION(ClosureCall)
« no previous file with comments | « runtime/vm/flow_graph_compiler_x64.cc ('k') | runtime/vm/parser.h » ('j') | runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698