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

Unified Diff: dart/sdk/lib/_internal/compiler/implementation/js_emitter/closure_invocation_element.dart

Issue 27524003: Generate tear-off closures dynamically. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Fixed unit tests. Created 7 years 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: dart/sdk/lib/_internal/compiler/implementation/js_emitter/closure_invocation_element.dart
diff --git a/dart/sdk/lib/_internal/compiler/implementation/js_emitter/closure_invocation_element.dart b/dart/sdk/lib/_internal/compiler/implementation/js_emitter/closure_invocation_element.dart
deleted file mode 100644
index 0b891d0b943a3bd8014dc15b8683c69a649f7427..0000000000000000000000000000000000000000
--- a/dart/sdk/lib/_internal/compiler/implementation/js_emitter/closure_invocation_element.dart
+++ /dev/null
@@ -1,25 +0,0 @@
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-part of dart2js.js_emitter;
-
-/**
- * A function element that represents a closure call. The signature is copied
- * from the given element.
- */
-class ClosureInvocationElement extends FunctionElementX {
- ClosureInvocationElement(String name,
- FunctionElement other)
- : super.from(name, other, other.enclosingElement),
- methodElement = other;
-
- isInstanceMember() => true;
-
- Element getOutermostEnclosingMemberOrTopLevel() => methodElement;
-
- /**
- * The [member] this invocation refers to.
- */
- Element methodElement;
-}

Powered by Google App Engine
This is Rietveld 408576698