Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index e657d49334230e82aa86b03a9be2209bfd0fa8f7..c378f96838202cc4c0136c777370a8a5fd431cc7 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -3537,26 +3537,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 v0 and convert it. |
- VisitForAccumulatorValue(args->at(0)); |
- |
- Label convert, done_convert; |
- __ JumpIfSmi(v0, &convert); |
- STATIC_ASSERT(FIRST_NAME_TYPE == FIRST_TYPE); |
- __ GetObjectType(v0, a1, a1); |
- __ Branch(&done_convert, le, a1, Operand(LAST_NAME_TYPE)); |
- __ bind(&convert); |
- __ Push(v0); |
- __ CallRuntime(Runtime::kToName); |
- __ bind(&done_convert); |
- context()->Plug(v0); |
-} |
- |
- |
void FullCodeGenerator::EmitStringCharFromCode(CallRuntime* expr) { |
ZoneList<Expression*>* args = expr->arguments(); |
DCHECK(args->length() == 1); |