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

Unified Diff: pkg/compiler/lib/src/kernel/element_map.dart

Issue 3007523003: Prepare for handling super noSuchMethod (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/kernel/element_map_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/element_map.dart
diff --git a/pkg/compiler/lib/src/kernel/element_map.dart b/pkg/compiler/lib/src/kernel/element_map.dart
index 7987d1fca9fac5b88a89449e2f812a88d8838cb6..1d52388a4cbb9d356c7f049c501b1112cd68f449 100644
--- a/pkg/compiler/lib/src/kernel/element_map.dart
+++ b/pkg/compiler/lib/src/kernel/element_map.dart
@@ -76,6 +76,10 @@ abstract class KernelToElementMap {
MemberEntity getSuperMember(ir.Member context, ir.Name name, ir.Member target,
{bool setter: false});
+ /// Returns the `noSuchMethod` [FunctionEntity] call from a
+ /// `super.noSuchMethod` invocation within [cls].
+ FunctionEntity getSuperNoSuchMethod(ClassEntity cls);
+
/// Returns the [Name] corresponding to [name].
Name getName(ir.Name name);
@@ -188,10 +192,6 @@ abstract class KernelToElementMapForBuilding implements KernelToElementMap {
/// the initializer is not a constant expression.
ConstantValue getFieldConstantValue(ir.Field field);
- /// Returns the `noSuchMethod` [FunctionEntity] call from a
- /// `super.noSuchMethod` invocation within [cls].
- FunctionEntity getSuperNoSuchMethod(ClassEntity cls);
-
/// Returns a [Spannable] for a message pointing to the IR [node] in the
/// context of [member].
Spannable getSpannable(MemberEntity member, ir.Node node);
« no previous file with comments | « no previous file | pkg/compiler/lib/src/kernel/element_map_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698