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

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

Issue 2575083002: Pass ClosedWorld directly to codegen tasks (Closed)
Patch Set: Created 4 years 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/ssa/interceptor_simplifier.dart
diff --git a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
index 17de116538102a12c66919e4619a3d9b6f148551..6855b8c34c57ddd8f6c3bceec93034150910c68f 100644
--- a/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
+++ b/pkg/compiler/lib/src/ssa/interceptor_simplifier.dart
@@ -37,17 +37,17 @@ import 'optimize.dart';
class SsaSimplifyInterceptors extends HBaseVisitor
implements OptimizationPhase {
final String name = "SsaSimplifyInterceptors";
+ final ClosedWorld closedWorld;
final ConstantSystem constantSystem;
final Compiler compiler;
final Element element;
HGraph graph;
- SsaSimplifyInterceptors(this.compiler, this.constantSystem, this.element);
+ SsaSimplifyInterceptors(
+ this.compiler, this.closedWorld, this.constantSystem, this.element);
JavaScriptBackend get backend => compiler.backend;
- ClosedWorld get closedWorld => compiler.closedWorld;
-
BackendClasses get backendClasses => closedWorld.backendClasses;
void visitGraph(HGraph graph) {

Powered by Google App Engine
This is Rietveld 408576698