| Index: pkg/compiler/lib/src/native/enqueue.dart
|
| diff --git a/pkg/compiler/lib/src/native/enqueue.dart b/pkg/compiler/lib/src/native/enqueue.dart
|
| index c04509b33c66d309763733cb4bdd52800d0dd3c1..e15f185cbee361d1669c4b225f0fdabedc79d9f5 100644
|
| --- a/pkg/compiler/lib/src/native/enqueue.dart
|
| +++ b/pkg/compiler/lib/src/native/enqueue.dart
|
| @@ -606,11 +606,8 @@ class NativeResolutionEnqueuer extends NativeEnqueuerBase {
|
| *
|
| */
|
| NativeBehavior resolveJsCall(Send node, ForeignResolver resolver) {
|
| - NativeBehavior behavior = NativeBehavior.ofJsCall(
|
| + return NativeBehavior.ofJsCall(
|
| node, reporter, compiler.parsingContext, compiler.coreTypes, resolver);
|
| - // TODO(johnniwinther): Move registration to the world impact application.
|
| - registerNativeBehavior(behavior, node);
|
| - return behavior;
|
| }
|
|
|
| /**
|
| @@ -624,11 +621,8 @@ class NativeResolutionEnqueuer extends NativeEnqueuerBase {
|
| */
|
| NativeBehavior resolveJsEmbeddedGlobalCall(
|
| Send node, ForeignResolver resolver) {
|
| - NativeBehavior behavior = NativeBehavior.ofJsEmbeddedGlobalCall(
|
| + return NativeBehavior.ofJsEmbeddedGlobalCall(
|
| node, reporter, compiler.parsingContext, compiler.coreTypes, resolver);
|
| - // TODO(johnniwinther): Move registration to the world impact application.
|
| - registerNativeBehavior(behavior, node);
|
| - return behavior;
|
| }
|
|
|
| /**
|
| @@ -641,11 +635,8 @@ class NativeResolutionEnqueuer extends NativeEnqueuerBase {
|
| *
|
| */
|
| NativeBehavior resolveJsBuiltinCall(Send node, ForeignResolver resolver) {
|
| - NativeBehavior behavior = NativeBehavior.ofJsBuiltinCall(
|
| + return NativeBehavior.ofJsBuiltinCall(
|
| node, reporter, compiler.parsingContext, compiler.coreTypes, resolver);
|
| - // TODO(johnniwinther): Move registration to the world impact application.
|
| - registerNativeBehavior(behavior, node);
|
| - return behavior;
|
| }
|
| }
|
|
|
|
|