Index: pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart |
diff --git a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart |
index 310a243edbd8b04a87c8333a4672b709c59d4e19..9de1ce2a38cc91849d6584f5f28c666d5e0b917b 100644 |
--- a/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart |
+++ b/pkg/compiler/lib/src/js_emitter/old_emitter/emitter.dart |
@@ -276,20 +276,20 @@ class OldEmitter implements Emitter { |
return jsAst.js.expressionTemplateYielding( |
typeAccess(compiler.objectClass)); |
- case JsBuiltin.classNameFromIsCheckProperty: |
+ case JsBuiltin.isCheckPropertyToJsConstructorName: |
int isPrefixLength = namer.operatorIsPrefix.length; |
return jsAst.js.expressionTemplateFor('#.substring($isPrefixLength)'); |
case JsBuiltin.isFunctionType: |
return backend.rti.representationGenerator.templateForIsFunctionType; |
- case JsBuiltin.typeName: |
+ case JsBuiltin.rawRtiToJsConstructorName: |
return jsAst.js.expressionTemplateFor("#.$typeNameProperty"); |
case JsBuiltin.rawRuntimeType: |
return jsAst.js.expressionTemplateFor("#.constructor"); |
- case JsBuiltin.createFunctionType: |
+ case JsBuiltin.createFunctionTypeRti: |
return backend.rti.representationGenerator |
.templateForCreateFunctionType; |