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

Unified Diff: pkg/compiler/lib/src/universe/function_set.dart

Issue 1299413002: Move common identifiers, names and selectors to a separate library. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Updated cf. comments. Created 5 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 | « pkg/compiler/lib/src/ssa/ssa.dart ('k') | pkg/compiler/lib/src/universe/universe.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/universe/function_set.dart
diff --git a/pkg/compiler/lib/src/universe/function_set.dart b/pkg/compiler/lib/src/universe/function_set.dart
index 7260c6de75e42ae57d2a6d8e9bdada0b9bc17120..0b4b0bc9990cddaea99aa8426fa507bc4e1e7696 100644
--- a/pkg/compiler/lib/src/universe/function_set.dart
+++ b/pkg/compiler/lib/src/universe/function_set.dart
@@ -59,7 +59,7 @@ class FunctionSet {
FunctionSetQuery query(Selector selector, TypeMask mask) {
String name = selector.name;
FunctionSetNode node = nodes[name];
- FunctionSetNode noSuchMethods = nodes[Compiler.NO_SUCH_METHOD];
+ FunctionSetNode noSuchMethods = nodes[Identifiers.noSuchMethod_];
if (node != null) {
return node.query(selector, mask, compiler, noSuchMethods);
}
@@ -67,7 +67,7 @@ class FunctionSet {
// only hit [:noSuchMethod:].
if (noSuchMethods == null) return const FunctionSetQuery(const <Element>[]);
return noSuchMethods.query(
- compiler.noSuchMethodSelector, mask, compiler, null);
+ Selectors.noSuchMethod_, mask, compiler, null);
}
void forEach(Function action) {
@@ -204,7 +204,7 @@ class FunctionSetNode {
if (noSuchMethods != null
&& mask.needsNoSuchMethodHandling(selector, classWorld)) {
FunctionSetQuery noSuchMethodQuery = noSuchMethods.query(
- compiler.noSuchMethodSelector,
+ Selectors.noSuchMethod_,
mask,
compiler,
null);
« no previous file with comments | « pkg/compiler/lib/src/ssa/ssa.dart ('k') | pkg/compiler/lib/src/universe/universe.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698