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

Unified Diff: vm/intermediate_language.cc

Issue 10834311: Split ToDouble into two IL instruction to make it work with SSA. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/runtime/
Patch Set: Created 8 years, 4 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: vm/intermediate_language.cc
===================================================================
--- vm/intermediate_language.cc (revision 10648)
+++ vm/intermediate_language.cc (working copy)
@@ -838,11 +838,16 @@
}
-RawAbstractType* ToDoubleComp::CompileType() const {
+RawAbstractType* DoubleToDoubleComp::CompileType() const {
return Type::DoubleInterface();
}
+RawAbstractType* SmiToDoubleComp::CompileType() const {
+ return Type::DoubleInterface();
+}
+
+
// Shared code generation methods (EmitNativeCode, MakeLocationSummary, and
// PrepareEntry). Only assembly code that can be shared across all architectures
// can be used. Machine specific register allocation and code generation

Powered by Google App Engine
This is Rietveld 408576698