Index: sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart b/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
index a40355bd1b5d7bf0e9044151fb4476293bc1e55f..ad006f8a43bc919bfeccba29bd739bc6395bd0eb 100644 |
--- a/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
+++ b/sdk/lib/_internal/compiler/implementation/ssa/nodes.dart |
@@ -1640,12 +1640,12 @@ class HLocalSet extends HFieldAccess { |
} |
class HForeign extends HInstruction { |
- final js.Node codeAst; |
+ final js.Template codeTemplate; |
final bool isStatement; |
final bool _canThrow; |
final native.NativeBehavior nativeBehavior; |
- HForeign(this.codeAst, |
+ HForeign(this.codeTemplate, |
TypeMask type, |
List<HInstruction> inputs, |
{this.isStatement: false, |
@@ -1661,11 +1661,11 @@ class HForeign extends HInstruction { |
if (effects != null) sideEffects.add(effects); |
} |
- HForeign.statement(codeAst, List<HInstruction> inputs, |
+ HForeign.statement(codeTemplate, List<HInstruction> inputs, |
SideEffects effects, |
native.NativeBehavior nativeBehavior, |
TypeMask type) |
- : this(codeAst, type, inputs, isStatement: true, |
+ : this(codeTemplate, type, inputs, isStatement: true, |
effects: effects, nativeBehavior: nativeBehavior); |
accept(HVisitor visitor) => visitor.visitForeign(this); |