Index: src/builtins/arm/builtins-arm.cc |
diff --git a/src/builtins/arm/builtins-arm.cc b/src/builtins/arm/builtins-arm.cc |
index 9fececcaf3f08c9eaf7a9c66ec131309a444454d..2c0bef2556dd3a147130e41df9fb0cbd68353536 100644 |
--- a/src/builtins/arm/builtins-arm.cc |
+++ b/src/builtins/arm/builtins-arm.cc |
@@ -387,10 +387,9 @@ void Builtins::Generate_StringConstructor(MacroAssembler* masm) { |
__ bind(&to_string); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- ToStringStub stub(masm->isolate()); |
__ SmiTag(r2); |
__ EnterBuiltinFrame(cp, r1, r2); |
- __ CallStub(&stub); |
+ __ Call(masm->isolate()->builtins()->ToString(), RelocInfo::CODE_TARGET); |
__ LeaveBuiltinFrame(cp, r1, r2); |
__ SmiUntag(r2); |
} |
@@ -449,12 +448,11 @@ void Builtins::Generate_StringConstructor_ConstructStub(MacroAssembler* masm) { |
__ bind(&convert); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- ToStringStub stub(masm->isolate()); |
__ SmiTag(r6); |
__ EnterBuiltinFrame(cp, r1, r6); |
__ Push(r3); |
__ Move(r0, r2); |
- __ CallStub(&stub); |
+ __ Call(masm->isolate()->builtins()->ToString(), RelocInfo::CODE_TARGET); |
__ Move(r2, r0); |
__ Pop(r3); |
__ LeaveBuiltinFrame(cp, r1, r6); |