| Index: pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| diff --git a/pkg/compiler/lib/src/js_backend/codegen/glue.dart b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| index fe6d172e3de3fafd11d40ff2d117a087dd49f5f8..8b72ee1443da60a6a9ab8f8cde0bb00a99439064 100644
|
| --- a/pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| +++ b/pkg/compiler/lib/src/js_backend/codegen/glue.dart
|
| @@ -83,7 +83,7 @@ class Glue {
|
|
|
| FunctionElement get identicalFunction => _compiler.identicalFunction;
|
|
|
| - String invocationName(Selector selector) {
|
| + js.Name invocationName(Selector selector) {
|
| return _namer.invocationName(selector);
|
| }
|
|
|
| @@ -115,11 +115,11 @@ class Glue {
|
| return _backend.emitter.constructorAccess(element);
|
| }
|
|
|
| - String instanceFieldPropertyName(Element field) {
|
| + js.Name instanceFieldPropertyName(Element field) {
|
| return _namer.instanceFieldPropertyName(field);
|
| }
|
|
|
| - String instanceMethodName(FunctionElement element) {
|
| + js.Name instanceMethodName(FunctionElement element) {
|
| return _namer.instanceMethodName(element);
|
| }
|
|
|
| @@ -129,7 +129,7 @@ class Glue {
|
| hasBeenInstantiated: hasBeenInstantiated);
|
| }
|
|
|
| - String getInterceptorName(Set<ClassElement> interceptedClasses) {
|
| + js.Name getInterceptorName(Set<ClassElement> interceptedClasses) {
|
| return _backend.namer.nameForGetInterceptor(interceptedClasses);
|
| }
|
|
|
| @@ -191,7 +191,7 @@ class Glue {
|
| }
|
|
|
| js.Expression getRuntimeTypeName(ClassElement cls) {
|
| - return js.string(_namer.runtimeTypeName(cls));
|
| + return js.quoteName(_namer.runtimeTypeName(cls));
|
| }
|
|
|
| int getTypeVariableIndex(TypeVariableType variable) {
|
| @@ -223,11 +223,11 @@ class Glue {
|
| _backend.registerIsCheckForCodegen(type, _enqueuer, registry);
|
| }
|
|
|
| - String getTypeTestTag(DartType type) {
|
| + js.Name getTypeTestTag(DartType type) {
|
| return _backend.namer.operatorIsType(type);
|
| }
|
|
|
| - String getTypeSubstitutionTag(ClassElement element) {
|
| + js.Name getTypeSubstitutionTag(ClassElement element) {
|
| return _backend.namer.substitutionName(element);
|
| }
|
|
|
|
|