Index: pkg/compiler/lib/src/ssa/builder.dart |
diff --git a/pkg/compiler/lib/src/ssa/builder.dart b/pkg/compiler/lib/src/ssa/builder.dart |
index 8356fb9532651e699416a0e47b8c89465dc89175..c67afb43fafc5ca3fafa673473625c65c1d21280 100644 |
--- a/pkg/compiler/lib/src/ssa/builder.dart |
+++ b/pkg/compiler/lib/src/ssa/builder.dart |
@@ -3932,15 +3932,15 @@ class SsaBuilder extends ResolvedVisitor { |
stack.add(addConstantString(backend.namer.operatorIsPrefix)); |
} else if (name == 'JS_OBJECT_CLASS_NAME') { |
// TODO(floitsch): this should be a JS_NAME. |
- String name = backend.namer.runtimeTypeName(compiler.objectClass); |
+ String name = backend.namer.getRuntimeTypeName(compiler.objectClass); |
stack.add(addConstantString(name)); |
} else if (name == 'JS_NULL_CLASS_NAME') { |
// TODO(floitsch): this should be a JS_NAME. |
- String name = backend.namer.runtimeTypeName(compiler.nullClass); |
+ String name = backend.namer.getRuntimeTypeName(compiler.nullClass); |
stack.add(addConstantString(name)); |
} else if (name == 'JS_FUNCTION_CLASS_NAME') { |
// TODO(floitsch): this should be a JS_NAME. |
- String name = backend.namer.runtimeTypeName(compiler.functionClass); |
+ String name = backend.namer.getRuntimeTypeName(compiler.functionClass); |
stack.add(addConstantString(name)); |
} else if (name == 'JS_OPERATOR_AS_PREFIX') { |
// TODO(floitsch): this should be a JS_NAME. |
@@ -4137,7 +4137,7 @@ class SsaBuilder extends ResolvedVisitor { |
// TODO(ahe): Creating a string here is unfortunate. It is slow (due to |
// string concatenation in the implementation), and may prevent |
// segmentation of '$'. |
- String substitutionNameString = backend.namer.runtimeTypeName(cls); |
+ String substitutionNameString = backend.namer.getNameForRti(cls); |
HInstruction substitutionName = graph.addConstantString( |
new ast.LiteralDartString(substitutionNameString), compiler); |
pushInvokeStatic(null, |