Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: pkg/compiler/lib/src/js_emitter/native_emitter.dart

Issue 897243003: dart2js: remove (broken) support for nsm on native classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Remove whitespace Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/compiler/lib/src/js_emitter/native_emitter.dart
diff --git a/pkg/compiler/lib/src/js_emitter/native_emitter.dart b/pkg/compiler/lib/src/js_emitter/native_emitter.dart
index ecde8235c070742f62bd75f0c2f30579c1b7e16b..5749e7903fe34ba65a292e9a74be72a988352bf9 100644
--- a/pkg/compiler/lib/src/js_emitter/native_emitter.dart
+++ b/pkg/compiler/lib/src/js_emitter/native_emitter.dart
@@ -22,11 +22,6 @@ class NativeEmitter {
// Caches the methods that have a native body.
Set<FunctionElement> nativeMethods;
- // Do we need the native emitter to take care of handling
- // noSuchMethod for us? This flag is set to true in the emitter if
- // it finds any native class that needs noSuchMethod handling.
- bool handleNoSuchMethod = false;
-
NativeEmitter(CodeEmitterTask emitterTask)
: this.emitterTask = emitterTask,
subtypes = new Map<ClassElement, List<ClassElement>>(),
« no previous file with comments | « pkg/compiler/lib/src/js_emitter/code_emitter_task.dart ('k') | pkg/compiler/lib/src/js_emitter/old_emitter/class_emitter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698