Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
index db163585750b3e2a702be97bb4e96458c3d31b4a..bc77a985332ef3421e4090d0b6530d65b3de0271 100644 |
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
@@ -3197,8 +3197,7 @@ class IrBuilderVisitor extends ast.Visitor<ir.Primitive> |
} |
Link<ast.Node> argumentNodes = argumentList.nodes; |
- NativeBehavior behavior = |
- compiler.enqueuer.resolution.nativeEnqueuer.getNativeBehaviorOf(node); |
+ NativeBehavior behavior = elements.getNativeData(node); |
switch (function.name) { |
case 'JS': |
validateArgumentCount(minimum: 2); |