Chromium Code Reviews| Index: lib/compiler/implementation/ssa/codegen.dart |
| diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart |
| index 2761f9df0fc6b414aec9dabf2d64cbf114bc9cae..97b28aeb425123ff80b3a4c70ff196aef30eae6e 100644 |
| --- a/lib/compiler/implementation/ssa/codegen.dart |
| +++ b/lib/compiler/implementation/ssa/codegen.dart |
| @@ -1493,8 +1493,8 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor { |
| visitInvokeStatic(HInvokeStatic node) { |
| if (Elements.isStaticOrTopLevelFunction(node.element) && |
|
ngeoffray
2012/08/22 14:21:07
Why this check? Why aren't we unconditionally regi
Søren Gjesse
2012/08/23 07:02:04
Good question. Removed.
|
| - (node.typeCode() == HInvokeStatic.INVOKE_STATIC_TYPECODE || |
| - node.typeCode() == HInvokeStatic.INVOKE_INTERCEPTOR_TYPECODE)) { |
| + (node.typeCode() == HInstruction.INVOKE_STATIC_TYPECODE || |
| + node.typeCode() == HInstruction.INVOKE_INTERCEPTOR_TYPECODE)) { |
| // Register this invocation to collect the types used at all call sites. |
| backend.registerStaticInvocation(node, types); |
| } |