| Index: dart/pkg/compiler/lib/src/js_backend/backend.dart
|
| diff --git a/dart/pkg/compiler/lib/src/js_backend/backend.dart b/dart/pkg/compiler/lib/src/js_backend/backend.dart
|
| index da276e4ddf9f576ffa39ea7997f6ebcd03500571..a33b032470c93d6697851954aaa89b688f7519b6 100644
|
| --- a/dart/pkg/compiler/lib/src/js_backend/backend.dart
|
| +++ b/dart/pkg/compiler/lib/src/js_backend/backend.dart
|
| @@ -954,6 +954,12 @@ class JavaScriptBackend extends Backend {
|
| assert(traceHelper != null);
|
| enqueueInResolution(traceHelper, registry);
|
| }
|
| +
|
| + // TODO(ahe): Don't know who uses this class, but it wasn't correctly
|
| + // enqueued after we stopped compiling the @proxy constant eagerly.
|
| + world.registerInstantiatedClass(
|
| + interceptorsLibrary.findLocal('JSUInt31'), registry);
|
| +
|
| registerCheckedModeHelpers(registry);
|
| }
|
|
|
| @@ -2397,6 +2403,12 @@ class JavaScriptBackend extends Backend {
|
| }
|
|
|
| void registerMainHasArguments(Enqueuer enqueuer) {
|
| + // The first argument could be a list of strings.
|
| + enqueuer.registerInstantiatedClass(
|
| + listImplementation, compiler.globalDependencies);
|
| + enqueuer.registerInstantiatedClass(
|
| + stringImplementation, compiler.globalDependencies);
|
| +
|
| // If the main method takes arguments, this compilation could be the target
|
| // of Isolate.spawnUri. Strictly speaking, that can happen also if main
|
| // takes no arguments, but in this case the spawned isolate can't
|
|
|