Index: src/full-codegen/arm/full-codegen-arm.cc |
diff --git a/src/full-codegen/arm/full-codegen-arm.cc b/src/full-codegen/arm/full-codegen-arm.cc |
index 83438e6d5b3ff1eb24de1b8fa0584b3879200a96..cac5e6e7c3c9057cb9c2be61cdfd28efbc10bb5e 100644 |
--- a/src/full-codegen/arm/full-codegen-arm.cc |
+++ b/src/full-codegen/arm/full-codegen-arm.cc |
@@ -3530,26 +3530,6 @@ void FullCodeGenerator::EmitToInteger(CallRuntime* expr) { |
} |
-void FullCodeGenerator::EmitToName(CallRuntime* expr) { |
- ZoneList<Expression*>* args = expr->arguments(); |
- DCHECK_EQ(1, args->length()); |
- |
- // Load the argument into r0 and convert it. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- Label convert, done_convert; |
- __ JumpIfSmi(r0, &convert); |
- STATIC_ASSERT(FIRST_NAME_TYPE == FIRST_TYPE); |
- __ CompareObjectType(r0, r1, r1, LAST_NAME_TYPE); |
- __ b(ls, &done_convert); |
- __ bind(&convert); |
- __ Push(r0); |
- __ CallRuntime(Runtime::kToName); |
- __ bind(&done_convert); |
- context()->Plug(r0); |
-} |
- |
- |
void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |