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

Unified Diff: runtime/vm/code_generator_ia32.cc

Issue 8506001: Finalize all classes (fix issue 364). (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 1336)
+++ runtime/vm/code_generator_ia32.cc (working copy)
@@ -1389,11 +1389,10 @@
const Bool& bool_true = Bool::ZoneHandle(Bool::True());
const Bool& bool_false = Bool::ZoneHandle(Bool::False());
- // All instances are of type Object.
+ // All instances are of a subtype of the Object type.
const Type& object_type =
Type::Handle(Isolate::Current()->object_store()->object_type());
if (type.IsInstantiated() && object_type.IsSubtypeOf(type)) {
- // All objects are an instance of the Object class.
__ PushObject(negate_result ? bool_false : bool_true);
return;
}

Powered by Google App Engine
This is Rietveld 408576698