Chromium Code Reviews| 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..75a697938cae53c134213f82871090e1c68ea898 100644 |
| --- a/pkg/compiler/lib/src/native/enqueue.dart |
| +++ b/pkg/compiler/lib/src/native/enqueue.dart |
| @@ -608,8 +608,6 @@ class NativeResolutionEnqueuer extends NativeEnqueuerBase { |
| NativeBehavior resolveJsCall(Send node, ForeignResolver resolver) { |
| NativeBehavior behavior = NativeBehavior.ofJsCall( |
|
Siggi Cherem (dart-lang)
2016/05/10 01:06:18
nit: remove the extra var... possibly remove {} to
Johnni Winther
2016/05/10 09:26:42
Done.
|
| node, reporter, compiler.parsingContext, compiler.coreTypes, resolver); |
| - // TODO(johnniwinther): Move registration to the world impact application. |
| - registerNativeBehavior(behavior, node); |
| return behavior; |
| } |
| @@ -626,8 +624,6 @@ class NativeResolutionEnqueuer extends NativeEnqueuerBase { |
| Send node, ForeignResolver resolver) { |
| NativeBehavior behavior = NativeBehavior.ofJsEmbeddedGlobalCall( |
| node, reporter, compiler.parsingContext, compiler.coreTypes, resolver); |
| - // TODO(johnniwinther): Move registration to the world impact application. |
| - registerNativeBehavior(behavior, node); |
| return behavior; |
| } |
| @@ -643,8 +639,6 @@ class NativeResolutionEnqueuer extends NativeEnqueuerBase { |
| NativeBehavior resolveJsBuiltinCall(Send node, ForeignResolver resolver) { |
| NativeBehavior behavior = NativeBehavior.ofJsBuiltinCall( |
| node, reporter, compiler.parsingContext, compiler.coreTypes, resolver); |
| - // TODO(johnniwinther): Move registration to the world impact application. |
| - registerNativeBehavior(behavior, node); |
| return behavior; |
| } |
| } |