Chromium Code Reviews| 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 252afbdf34f13228705eb2d6ba90626aff90e019..3cc601ee06d08f029ac30d98712570cf16a5c295 100644 |
| --- a/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
| +++ b/dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart |
| @@ -1191,7 +1191,7 @@ class SsaBuilder extends ResolvedVisitor implements Visitor { |
| // type parameters. Those values are in the [supertype] |
| // declaration of [subclass]. |
| ClassElement subclass = inlinedFromElement.getEnclosingClass(); |
| - DartType supertype = subclass.supertype; |
| + GenericType supertype = subclass.supertype; |
|
kasperl
2013/03/06 20:39:43
Already changed to InterfaceType. Should go away w
|
| Link<DartType> typeVariables = superclass.typeVariables; |
| supertype.typeArguments.forEach((DartType argument) { |
| localsHandler.updateLocal(typeVariables.head.element, |
| @@ -2212,7 +2212,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>[]; |
| @@ -2650,7 +2651,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)) { |