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

Unified Diff: runtime/vm/object_store.cc

Issue 8403003: Rename the VM internal 'var' type to 'Dynamic' type. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 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_store.cc
===================================================================
--- runtime/vm/object_store.cc (revision 774)
+++ runtime/vm/object_store.cc (working copy)
@@ -125,7 +125,7 @@
switch (index) {
case kObjectType: return object_type();
case kNullType: return null_type();
- case kVarType: return var_type();
+ case kVarType: return dynamic_type();
case kVoidType: return void_type();
case kFunctionInterface: return function_interface();
case kNumberInterface: return number_interface();
@@ -146,7 +146,7 @@
return kObjectType;
} else if (raw_type == null_type()) {
return kNullType;
- } else if (raw_type == var_type()) {
+ } else if (raw_type == dynamic_type()) {
return kVarType;
} else if (raw_type == void_type()) {
return kVoidType;
« runtime/vm/object.cc ('K') | « runtime/vm/object_store.h ('k') | runtime/vm/object_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698