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

Unified Diff: runtime/vm/object.h

Issue 10933039: Make int an abstract class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Now with correct base. Created 8 years, 3 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
diff --git a/runtime/vm/object.h b/runtime/vm/object.h
index 9bb6a1708ec56b5da0a6461033746074a1f348e6..6712b4a33e061a7ecd0524a13cdb0149c144bba4 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -875,8 +875,8 @@ class AbstractType : public Object {
// Check if this type represents the 'bool' type.
bool IsBoolType() const;
- // Check if this type represents the 'int' interface.
- bool IsIntInterface() const;
+ // Check if this type represents the 'int' type.
+ bool IsIntType() const;
// Check if this type represents the 'double' type.
bool IsDoubleType() const;
@@ -993,8 +993,8 @@ class Type : public AbstractType {
// The 'bool' type.
static RawType* BoolType();
- // The 'int' interface type.
- static RawType* IntInterface();
+ // The 'int' type.
+ static RawType* IntType();
// The 'Smi' type.
static RawType* SmiType();

Powered by Google App Engine
This is Rietveld 408576698