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

Unified Diff: pkg/compiler/lib/src/ssa/nodes.dart

Issue 1421003004: Add CoreClasses (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comment. Created 5 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 | « pkg/compiler/lib/src/ssa/codegen.dart ('k') | pkg/compiler/lib/src/ssa/optimize.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/ssa/nodes.dart
diff --git a/pkg/compiler/lib/src/ssa/nodes.dart b/pkg/compiler/lib/src/ssa/nodes.dart
index 08f69873a35bfdb63e4ab22639011347ea512d95..e3a719de4d29df74b12f1a5b5f69478ff49c6804 100644
--- a/pkg/compiler/lib/src/ssa/nodes.dart
+++ b/pkg/compiler/lib/src/ssa/nodes.dart
@@ -1319,9 +1319,9 @@ abstract class HInstruction implements Spannable {
assert(type.kind != TypeKind.TYPE_VARIABLE);
assert(type.treatAsRaw || type.isFunctionType);
if (type.isDynamic) return this;
+ if (type.isObject) return this;
// The type element is either a class or the void element.
Element element = type.element;
- if (identical(element, compiler.objectClass)) return this;
JavaScriptBackend backend = compiler.backend;
if (type.kind != TypeKind.INTERFACE) {
return new HTypeConversion(type, kind, backend.dynamicType, this);
« no previous file with comments | « pkg/compiler/lib/src/ssa/codegen.dart ('k') | pkg/compiler/lib/src/ssa/optimize.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698