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

Unified Diff: runtime/vm/object.h

Issue 10876100: Convert double interface into abstract class (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 11396)
+++ runtime/vm/object.h (working copy)
@@ -871,8 +871,8 @@
// Check if this type represents the 'int' interface.
bool IsIntInterface() const;
- // Check if this type represents the 'double' interface.
- bool IsDoubleInterface() const;
+ // Check if this type represents the 'double' type.
+ bool IsDoubleType() const;
// Check if this type represents the 'num' type.
bool IsNumberType() const;
@@ -995,8 +995,8 @@
// The 'Mint' type.
static RawType* MintType();
- // The 'double' interface type.
- static RawType* DoubleInterface();
+ // The 'double' type.
+ static RawType* Double();
// The 'num' interface type.
static RawType* Number();
@@ -3354,6 +3354,8 @@
};
+// Class Double represents class Double in corelib_impl, which implements
+// abstract class double in corelib.
class Double : public Number {
public:
double value() const {

Powered by Google App Engine
This is Rietveld 408576698