Index: pkg/compiler/lib/src/js_backend/codegen/task.dart |
diff --git a/pkg/compiler/lib/src/js_backend/codegen/task.dart b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
index 030daca0ac0542e3e53d228ffb6ef586b9a7a164..a9d529263169ea94c622a92efca55fea5b846b2a 100644 |
--- a/pkg/compiler/lib/src/js_backend/codegen/task.dart |
+++ b/pkg/compiler/lib/src/js_backend/codegen/task.dart |
@@ -129,7 +129,7 @@ class CpsFunctionCompiler implements FunctionCompiler { |
}); |
traceGraph(pass.passName, cpsFunction); |
dumpTypedIr(pass.passName, cpsFunction); |
- assert(checkCpsIntegrity(cpsFunction, pass.passName)); |
+ assert(checkCpsIntegrity(cpsFunction)); |
} |
cps.FunctionDefinition compileToCpsIr(AstElement element) { |
@@ -141,7 +141,6 @@ class CpsFunctionCompiler implements FunctionCompiler { |
giveUp(cpsBuilderTask.bailoutMessage); |
} |
} |
- ParentVisitor.setParents(cpsFunction); |
traceGraph('IR Builder', cpsFunction); |
dumpTypedIr('IR Builder', cpsFunction); |
// Eliminating redundant phis before the unsugaring pass will make it |
@@ -185,8 +184,8 @@ class CpsFunctionCompiler implements FunctionCompiler { |
} |
} |
- static bool checkCpsIntegrity(cps.FunctionDefinition node, String pass) { |
- new CheckCpsIntegrity().check(node, pass); |
+ static bool checkCpsIntegrity(cps.FunctionDefinition node) { |
+ new CheckCpsIntegrity().check(node); |
return true; // So this can be used from assert(). |
} |