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

Unified Diff: runtime/vm/code_generator_ia32_test.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
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/code_generator_ia32_test.cc
===================================================================
--- runtime/vm/code_generator_ia32_test.cc (revision 778)
+++ runtime/vm/code_generator_ia32_test.cc (working copy)
@@ -29,7 +29,7 @@
// Helper to allocate and return a LocalVariable.
static LocalVariable* NewTestLocalVariable(const char* name) {
const String& variable_name = String::ZoneHandle(String::New(name));
- const Type& variable_type = Type::ZoneHandle(Type::VarType());
+ const Type& variable_type = Type::ZoneHandle(Type::DynamicType());
return new LocalVariable(kPos, variable_name, variable_type);
}
@@ -382,7 +382,7 @@
function.set_num_optional_parameters(num_opt_params);
function.set_parameter_types(Array::Handle(Array::New(num_params)));
function.set_parameter_names(Array::Handle(Array::New(num_params)));
- const Type& param_type = Type::Handle(Type::VarType());
+ const Type& param_type = Type::Handle(Type::DynamicType());
for (int i = 0; i < num_params - 1; i++) {
function.SetParameterTypeAt(i, param_type);
}
« no previous file with comments | « runtime/vm/code_generator_ia32.cc ('k') | runtime/vm/compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698