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 e9019b9cb70ac854b56cf2afc8ee0ca11c61c287..747d686e6b7c052385418d3ed641f17551c9ced9 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -3819,9 +3819,8 @@ void FullCodeGenerator::EmitToName(CallRuntime* expr) { |
__ GetObjectType(v0, a1, a1); |
__ Branch(&done_convert, le, a1, Operand(LAST_NAME_TYPE)); |
__ bind(&convert); |
- ToStringStub stub(isolate()); |
- __ mov(a0, v0); |
- __ CallStub(&stub); |
+ __ Push(v0); |
+ __ CallRuntime(Runtime::kToName, 1); |
__ bind(&done_convert); |
context()->Plug(v0); |
} |