Index: pkg/fletchc/lib/src/fletch_context.dart |
diff --git a/pkg/fletchc/lib/src/fletch_context.dart b/pkg/fletchc/lib/src/fletch_context.dart |
index 4a6aa93e467bd47a2e068c6e0834576972009c06..163ebf8f20b2b2231b356c3d6cafc4caf26cf28e 100644 |
--- a/pkg/fletchc/lib/src/fletch_context.dart |
+++ b/pkg/fletchc/lib/src/fletch_context.dart |
@@ -31,6 +31,9 @@ import 'package:compiler/src/constants/values.dart' show |
ConstructedConstantValue, |
FunctionConstantValue; |
+import 'package:compiler/src/common/names.dart' show |
+ Names; |
+ |
import 'fletch_compiler_implementation.dart' show |
FletchCompilerImplementation; |
@@ -136,17 +139,16 @@ class FletchContext { |
} |
String getSymbolForFunction( |
- String name, |
- FunctionSignature signature, |
- LibraryElement library) { |
+ Name name, |
+ FunctionSignature signature) { |
StringBuffer buffer = new StringBuffer(); |
- buffer.write(mangleName(new Name(name, library))); |
+ buffer.write(mangleName(name)); |
writeNamedArguments(buffer, signature); |
return buffer.toString(); |
} |
String getCallSymbol(FunctionSignature signature) { |
- return getSymbolForFunction('call', signature, null); |
+ return getSymbolForFunction(Names.call, signature); |
} |
int getSymbolId(String symbol) { |