Index: dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
diff --git a/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart b/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
index db2fca9cafd308763cce86dba34e3d53bf77e1b5..f389f6463a731ff20b37a02d793ef63f5487b716 100644 |
--- a/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
+++ b/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
@@ -2222,7 +2222,8 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
// TODO(ahe): This should be registered in codegen, not here. |
compiler.enqueuer.codegen.addToWorkList(callElement, elements); |
// TODO(ahe): This should be registered in codegen, not here. |
- compiler.enqueuer.codegen.registerInstantiatedClass(closureClassElement); |
+ compiler.enqueuer.codegen.registerInstantiatedClass( |
+ closureClassElement, work.resolutionTree); |
assert(!closureClassElement.hasLocalScopeMembers); |
List<HInstruction> capturedVariables = <HInstruction>[]; |
@@ -2660,7 +2661,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
runtimeType]; |
instruction = new HInvokeStatic(inputs, HType.BOOLEAN); |
add(instruction); |
- compiler.enqueuer.codegen.registerIsCheck(type); |
+ compiler.enqueuer.codegen.registerIsCheck(type, elements); |
} else if (RuntimeTypeInformation.hasTypeArguments(type)) { |