Chromium Code Reviews| Index: sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
| diff --git a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
| index 036d1ac4b4de5a5b01413c5e9f163ad103e1e833..4e1359d4e7e69929db976b4a852bcfd39d1c7732 100644 |
| --- a/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
| +++ b/sdk/lib/_internal/compiler/implementation/ssa/optimize.dart |
| @@ -207,7 +207,7 @@ class SsaConstantFolder extends HBaseVisitor implements OptimizationPhase { |
| } |
| HInstruction handleInterceptorCall(HInvokeDynamic node) { |
| - if (node is !HInvokeDynamicMethod) return; |
| + if (node is !HInvokeDynamicMethod) return null; |
|
karlklose
2012/12/06 11:39:23
@ngeoffray: Is this the intention?
ngeoffray
2012/12/06 23:05:05
Yes, thanks Karl.
|
| HInstruction input = node.inputs[1]; |
| if (input.isString(types) |
| && node.selector.name == const SourceString('toString')) { |