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

Unified Diff: runtime/vm/snapshot.cc

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/parser.cc ('k') | runtime/vm/snapshot_ids.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/snapshot.cc
===================================================================
--- runtime/vm/snapshot.cc (revision 11414)
+++ runtime/vm/snapshot.cc (working copy)
@@ -66,7 +66,7 @@
case kDoubleType: return object_store->double_type();
case kDoubleInterface: return object_store->double_interface();
case kIntInterface: return object_store->int_interface();
- case kBoolInterface: return object_store->bool_interface();
+ case kBoolType: return object_store->bool_type();
case kStringInterface: return object_store->string_interface();
case kListInterface: return object_store->list_interface();
case kByteArrayInterface: return object_store->byte_array_interface();
@@ -101,8 +101,8 @@
return kDoubleInterface;
} else if (raw_type == object_store->int_interface()) {
return kIntInterface;
- } else if (raw_type == object_store->bool_interface()) {
- return kBoolInterface;
+ } else if (raw_type == object_store->bool_type()) {
+ return kBoolType;
} else if (raw_type == object_store->string_interface()) {
return kStringInterface;
} else if (raw_type == object_store->list_interface()) {
« no previous file with comments | « runtime/vm/parser.cc ('k') | runtime/vm/snapshot_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698