Index: src/builtins/ia32/builtins-ia32.cc |
diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc |
index 322f27a9fb74dadad23a8b11328ee9149e6c28b9..9dd621fca85827cc66f2d605e7aa93120d980392 100644 |
--- a/src/builtins/ia32/builtins-ia32.cc |
+++ b/src/builtins/ia32/builtins-ia32.cc |
@@ -2041,10 +2041,9 @@ void Builtins::Generate_StringConstructor(MacroAssembler* masm) { |
__ bind(&to_string); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- ToStringStub stub(masm->isolate()); |
__ SmiTag(ebx); |
__ EnterBuiltinFrame(esi, edi, ebx); |
- __ CallStub(&stub); |
+ __ Call(masm->isolate()->builtins()->ToString(), RelocInfo::CODE_TARGET); |
__ LeaveBuiltinFrame(esi, edi, ebx); |
__ SmiUntag(ebx); |
} |
@@ -2108,11 +2107,10 @@ void Builtins::Generate_StringConstructor_ConstructStub(MacroAssembler* masm) { |
__ bind(&convert); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- ToStringStub stub(masm->isolate()); |
__ SmiTag(ebx); |
__ EnterBuiltinFrame(esi, edi, ebx); |
__ Push(edx); |
- __ CallStub(&stub); |
+ __ Call(masm->isolate()->builtins()->ToString(), RelocInfo::CODE_TARGET); |
__ Pop(edx); |
__ LeaveBuiltinFrame(esi, edi, ebx); |
__ SmiUntag(ebx); |