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

Unified Diff: runtime/vm/intermediate_language.cc

Issue 10431006: First step toward an optimizing compiler: (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.cc
===================================================================
--- runtime/vm/intermediate_language.cc (revision 7907)
+++ runtime/vm/intermediate_language.cc (working copy)
@@ -45,6 +45,11 @@
}
+UseVal::UseVal(BindInstr* definition) : definition_(definition) {
+ definition->SetUse(this);
+}
+
+
// ==== Per-instruction input counts.
intptr_t AssertAssignableComp::InputCount() const {
// Value and optional instantiator and instantiator type arguments.
@@ -553,4 +558,10 @@
}
+RawAbstractType* BinaryOpComp::StaticType() const {
+ // TODO(srdjan): Compute based on input types (ICData).
+ return Type::DynamicType();
+}
+
+
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698