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

Unified Diff: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart

Issue 1146813009: Introduce WorldImpact (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 7 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
Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
index f560372ba4fbdf3755b3e2054bf8df42f8160304..da3b0cb9cd9977f18608842011d8639e265332a1 100644
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart
@@ -101,6 +101,7 @@ class IrBuilderTask extends CompilerTask {
if (compiler.backend is JavaScriptBackend) return true;
if (element is TypedefElement) return false;
+ if (element is ClassElement) return false;
if (element is FunctionElement) {
// TODO(sigurdm): Support native functions for dart2js.
assert(invariant(element, !element.isNative));

Powered by Google App Engine
This is Rietveld 408576698