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

Unified Diff: dart/runtime/vm/code_generator.cc

Issue 60733003: Version 0.8.10.6 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 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: dart/runtime/vm/code_generator.cc
===================================================================
--- dart/runtime/vm/code_generator.cc (revision 29958)
+++ dart/runtime/vm/code_generator.cc (working copy)
@@ -545,6 +545,9 @@
const SubtypeTestCache& cache =
SubtypeTestCache::CheckedHandle(arguments.ArgAt(4));
ASSERT(type.IsFinalized());
+ ASSERT(!type.IsDynamicType()); // No need to check assignment.
+ ASSERT(!type.IsMalformed()); // Already checked in code generator.
+ ASSERT(!type.IsMalbounded()); // Already checked in code generator.
Error& bound_error = Error::Handle();
const Bool& result =
Bool::Get(instance.IsInstanceOf(type,
« no previous file with comments | « dart/runtime/vm/ast.cc ('k') | dart/runtime/vm/dart.h » ('j') | dart/runtime/vm/parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698