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

Unified Diff: runtime/vm/object.h

Issue 10874071: Eliminate interface bool (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
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/object.h
===================================================================
--- runtime/vm/object.h (revision 11414)
+++ runtime/vm/object.h (working copy)
@@ -865,8 +865,8 @@
Class::Handle(type_class()).IsObjectClass();
}
- // Check if this type represents the 'bool' interface.
- bool IsBoolInterface() const;
+ // Check if this type represents the 'bool' type.
+ bool IsBoolType() const;
// Check if this type represents the 'int' interface.
bool IsIntInterface() const;
@@ -983,8 +983,8 @@
// The 'Object' type.
static RawType* ObjectType();
- // The 'bool' interface type.
- static RawType* BoolInterface();
+ // The 'bool' type.
+ static RawType* BoolType();
// The 'int' interface type.
static RawType* IntInterface();
@@ -3888,6 +3888,7 @@
};
+// Class Bool implements Dart core class bool.
class Bool : public Instance {
public:
bool value() const {
« no previous file with comments | « runtime/vm/intermediate_language.cc ('k') | runtime/vm/object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698