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

Unified Diff: sdk/lib/_internal/compiler/implementation/universe/function_set.dart

Issue 12087101: Turn getters and setters that we know are not intercepted into regular getter and setter calls. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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: sdk/lib/_internal/compiler/implementation/universe/function_set.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/universe/function_set.dart (revision 18037)
+++ sdk/lib/_internal/compiler/implementation/universe/function_set.dart (working copy)
@@ -67,7 +67,7 @@
Element member = node.membersByName[selector.name];
// Since we're running through the entire tree we have to use
// the applies method that takes types into account.
- if (member != null && selector.applies(member, compiler)) {
+ if (member != null && selector.appliesUnnamed(member, compiler)) {
result.add(member);
}
return true;
@@ -95,7 +95,7 @@
Element member = node.membersByName[selector.name];
// Since we're running through the entire tree we have to use
// the applies method that takes types into account.
- if (member != null && selector.applies(member, compiler)) {
+ if (member != null && selector.appliesUnnamed(member, compiler)) {
result = true;
// End the traversal.
return false;

Powered by Google App Engine
This is Rietveld 408576698