Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 8bcc1834c4322d9577f46273726124adaab60eb8..5206a1469096261b8ed7e88a10f9e746a83a5bb7 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -3704,8 +3704,8 @@ void FullCodeGenerator::EmitToName(CallRuntime* expr) { |
__ CmpObjectType(eax, LAST_NAME_TYPE, ecx); |
__ j(below_equal, &done_convert, Label::kNear); |
__ bind(&convert); |
- ToStringStub stub(isolate()); |
- __ CallStub(&stub); |
+ __ Push(eax); |
+ __ CallRuntime(Runtime::kToName, 1); |
__ bind(&done_convert); |
context()->Plug(eax); |
} |