Index: lib/compiler/implementation/compiler.dart |
diff --git a/lib/compiler/implementation/compiler.dart b/lib/compiler/implementation/compiler.dart |
index c615f2caf171ed134d13d3556176e9750d3087a3..a3972b929bfc599acf9919f0f396e27a32ed614e 100644 |
--- a/lib/compiler/implementation/compiler.dart |
+++ b/lib/compiler/implementation/compiler.dart |
@@ -128,11 +128,9 @@ abstract class Compiler implements DiagnosticListener { |
ClassElement nullClass; |
ClassElement listClass; |
ClassElement mapClass; |
- ClassElement jsInvocationMirrorClass; |
Element assertMethod; |
Element identicalFunction; |
Element functionApplyMethod; |
- Element invokeOnMethod; |
Element get currentElement => _currentElement; |
withCurrentElement(Element element, f()) { |
@@ -183,15 +181,12 @@ abstract class Compiler implements DiagnosticListener { |
static const SourceString MAIN = const SourceString('main'); |
static const SourceString CALL_OPERATOR_NAME = const SourceString('call'); |
static const SourceString NO_SUCH_METHOD = const SourceString('noSuchMethod'); |
- static const int NO_SUCH_METHOD_ARG_COUNT = 1; |
- static const SourceString INVOKE_ON = const SourceString('invokeOn'); |
static const SourceString RUNTIME_TYPE = const SourceString('runtimeType'); |
static const SourceString START_ROOT_ISOLATE = |
const SourceString('startRootIsolate'); |
bool enabledNoSuchMethod = false; |
bool enabledRuntimeType = false; |
bool enabledFunctionApply = false; |
- bool enabledInvokeOn = false; |
Stopwatch progress; |
@@ -347,11 +342,6 @@ abstract class Compiler implements DiagnosticListener { |
Selector selector = new Selector.noSuchMethod(); |
enqueuer.resolution.registerInvocation(NO_SUCH_METHOD, selector); |
enqueuer.codegen.registerInvocation(NO_SUCH_METHOD, selector); |
- |
- Element createInvocationMirrorElement = |
- findHelper(const SourceString('createInvocationMirror')); |
- enqueuer.resolution.addToWorkList(createInvocationMirrorElement); |
- enqueuer.codegen.addToWorkList(createInvocationMirrorElement); |
} |
void enableIsolateSupport(LibraryElement element) { |
@@ -403,8 +393,6 @@ abstract class Compiler implements DiagnosticListener { |
functionClass = lookupSpecialClass(const SourceString('Function')); |
listClass = lookupSpecialClass(const SourceString('List')); |
mapClass = lookupSpecialClass(const SourceString('Map')); |
- jsInvocationMirrorClass = |
- lookupSpecialClass(const SourceString('JSInvocationMirror')); |
closureClass = lookupSpecialClass(const SourceString('Closure')); |
dynamicClass = lookupSpecialClass(const SourceString('Dynamic_')); |
nullClass = lookupSpecialClass(const SourceString('Null')); |
@@ -437,9 +425,6 @@ abstract class Compiler implements DiagnosticListener { |
functionClass.ensureResolved(this); |
functionApplyMethod = |
functionClass.lookupLocalMember(const SourceString('apply')); |
- jsInvocationMirrorClass.ensureResolved(this); |
- invokeOnMethod = jsInvocationMirrorClass.lookupLocalMember( |
- const SourceString('invokeOn')); |
} |
void loadCoreImplLibrary() { |