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

Unified Diff: runtime/vm/code_generator_ia32.cc

Issue 8761011: Renaming type classes as discussed: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 1 month 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/code_generator_ia32.cc
===================================================================
--- runtime/vm/code_generator_ia32.cc (revision 1948)
+++ runtime/vm/code_generator_ia32.cc (working copy)
@@ -791,7 +791,7 @@
GenerateAssertAssignable(
node->id(),
node->value()->token_index(),
- Type::ZoneHandle(parsed_function().function().result_type()),
+ AbstractType::ZoneHandle(parsed_function().function().result_type()),
String::ZoneHandle(String::NewSymbol("function result")));
}
}
@@ -1033,7 +1033,7 @@
if (FLAG_enable_type_checks) {
GenerateAssertAssignable(node->id(),
node->value()->token_index(),
- Type::ZoneHandle(node->field().type()),
+ AbstractType::ZoneHandle(node->field().type()),
String::ZoneHandle(node->field().name()));
}
__ popl(EDX); // Instance.
@@ -1135,7 +1135,7 @@
if (FLAG_enable_type_checks) {
GenerateAssertAssignable(node->id(),
node->value()->token_index(),
- Type::ZoneHandle(node->field().type()),
+ AbstractType::ZoneHandle(node->field().type()),
String::ZoneHandle(node->field().name()));
}
__ LoadObject(EDX, node->field());
@@ -1304,7 +1304,7 @@
if (FLAG_enable_type_checks) {
GenerateAssertAssignable(node->id(),
node->token_index(),
- Type::ZoneHandle(node->field().type()),
+ AbstractType::ZoneHandle(node->field().type()),
String::ZoneHandle(node->field().name()));
}
__ LoadObject(EDX, node->field());
@@ -1366,7 +1366,7 @@
// - true or false on stack.
void CodeGenerator::GenerateInstanceOf(intptr_t node_id,
intptr_t token_index,
- const Type& type,
+ const AbstractType& type,
bool negate_result) {
ASSERT(type.IsFinalized());
const Bool& bool_true = Bool::ZoneHandle(Bool::True());
@@ -1523,7 +1523,7 @@
// - object in EAX for successful assignable check (or throws TypeError).
void CodeGenerator::GenerateAssertAssignable(intptr_t node_id,
intptr_t token_index,
- const Type& dst_type,
+ const AbstractType& dst_type,
const String& dst_name) {
ASSERT(FLAG_enable_type_checks);
ASSERT(token_index >= 0);
@@ -2258,7 +2258,7 @@
// The type arguments are compile time constants.
TypeArguments& type_arguments = TypeArguments::ZoneHandle();
// TODO(regis): Temporary type should be allocated in new gen heap.
- Type& type = Type::Handle(
+ AbstractType& type = AbstractType::Handle(
Type::NewParameterizedType(instantiator_class, type_arguments));
String& errmsg = String::Handle();
type = ClassFinalizer::FinalizeAndCanonicalizeType(type, &errmsg);
« no previous file with comments | « runtime/vm/code_generator_ia32.h ('k') | runtime/vm/flags.cc » ('j') | runtime/vm/object.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698