Index: pkg/compiler/lib/src/ssa/optimize.dart |
diff --git a/pkg/compiler/lib/src/ssa/optimize.dart b/pkg/compiler/lib/src/ssa/optimize.dart |
index 953a6f48f96a5881dff9bd33dfd6c001729d8e91..a7339f6a1c52419b7950e53b540ffb418bbcf67b 100644 |
--- a/pkg/compiler/lib/src/ssa/optimize.dart |
+++ b/pkg/compiler/lib/src/ssa/optimize.dart |
@@ -1037,6 +1037,8 @@ class SsaDeadCodeEliminator extends HGraphVisitor implements OptimizationPhase { |
Map<HInstruction, bool> trivialDeadStoreReceivers = |
new Maplet<HInstruction, bool>(); |
bool eliminatedSideEffects = false; |
+ JavaScriptBackend get backend => compiler.backend; |
karlklose
2015/05/28 09:39:53
Is this getter used?
herhut
2015/06/01 12:09:42
Thanks! Not anymore...
|
+ |
SsaDeadCodeEliminator(this.compiler, this.optimizer); |
HInstruction zapInstructionCache; |
@@ -1044,7 +1046,9 @@ class SsaDeadCodeEliminator extends HGraphVisitor implements OptimizationPhase { |
if (zapInstructionCache == null) { |
// A constant with no type does not pollute types at phi nodes. |
ConstantValue constant = |
- new DummyConstantValue(const TypeMask.nonNullEmpty()); |
+ new DummyConstantValue( |
+ DummyConstantKinds.emptyValue, |
+ const TypeMask.nonNullEmpty()); |
zapInstructionCache = analyzer.graph.addConstant(constant, compiler); |
} |
return zapInstructionCache; |