| Index: lib/compiler/implementation/compiler.dart
|
| diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart
|
| index e2ffd0d784faeded57c264c98b97ecd113de2fbe..5c6ec62e7af218e54c40ab4b0046d494963df5f4 100644
|
| --- a/lib/compiler/implementation/compiler.dart
|
| +++ b/lib/compiler/implementation/compiler.dart
|
| @@ -267,10 +267,9 @@ class Compiler implements DiagnosticListener {
|
| return;
|
| }
|
| enabledNoSuchMethod = true;
|
| - enqueuer.resolution.registerInvocation(NO_SUCH_METHOD,
|
| - Selector.INVOCATION_2);
|
| - enqueuer.codegen.registerInvocation(NO_SUCH_METHOD,
|
| - Selector.INVOCATION_2);
|
| + Selector selector = new Selector.noSuchMethod();
|
| + enqueuer.resolution.registerInvocation(NO_SUCH_METHOD, selector);
|
| + enqueuer.codegen.registerInvocation(NO_SUCH_METHOD, selector);
|
| }
|
|
|
| void enableIsolateSupport(LibraryElement element) {
|
|
|