| 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 3c2e5e6fbd72838b54bdb2e46512b9488f7f1edc..adb39b9eda65b45f30a9bbc0289eb6d866fc450f 100644
|
| --- a/pkg/compiler/lib/src/ssa/optimize.dart
|
| +++ b/pkg/compiler/lib/src/ssa/optimize.dart
|
| @@ -426,8 +426,7 @@ class SsaInstructionSimplifier extends HBaseVisitor
|
| int inputPosition = 1; // Skip receiver.
|
| bool canInline = true;
|
| signature.forEachParameter((ParameterElement element) {
|
| - if (inputPosition < inputs.length && canInline) {
|
| - HInstruction input = inputs[inputPosition++];
|
| + if (inputPosition++ < inputs.length && canInline) {
|
| DartType type = element.type.unalias(compiler);
|
| if (type is FunctionType) {
|
| canInline = false;
|
| @@ -697,7 +696,6 @@ class SsaInstructionSimplifier extends HBaseVisitor
|
| }
|
|
|
| HInstruction visitTypeConversion(HTypeConversion node) {
|
| - HInstruction value = node.inputs[0];
|
| DartType type = node.typeExpression;
|
| if (type != null) {
|
| if (type.isMalformed) {
|
|
|