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

Unified Diff: runtime/vm/object.h

Issue 11085003: Convert String to a class. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 f3aaf2575accb4c0b7cecc5da9078b368d84cc26..8022bd548f1d087c1ce5775b71a85720204e0a5e 100644
--- a/runtime/vm/object.h
+++ b/runtime/vm/object.h
@@ -3100,13 +3100,13 @@ class AbstractType : public Instance {
// Check if this type represents the 'num' type.
bool IsNumberType() const;
- // Check if this type represents the 'String' interface.
- bool IsStringInterface() const;
+ // Check if this type represents the 'String' type.
+ bool IsStringType() const;
// Check if this type represents the 'Function' type.
bool IsFunctionType() const;
- // Check if this type represents the 'List' interface.
+ // Check if this type represents the 'List' type.
hausner 2012/10/11 17:04:44 Changed comment too eagerly?
Lasse Reichstein Nielsen 2012/10/12 08:03:51 or didn't revert enough (I got this branch from th
bool IsListInterface() const;
// Check if this type is an interface type.
@@ -3224,8 +3224,8 @@ class Type : public AbstractType {
// The 'num' interface type.
static RawType* Number();
- // The 'String' interface type.
- static RawType* StringInterface();
+ // The 'String' type.
+ static RawType* StringType();
// The 'Function' interface type.
static RawType* Function();

Powered by Google App Engine
This is Rietveld 408576698