Index: src/builtins/arm/builtins-arm.cc |
diff --git a/src/builtins/arm/builtins-arm.cc b/src/builtins/arm/builtins-arm.cc |
index e2ac3ae5682a86441374008a10b7eb66fc0958c9..a60ab391a9c7e599f376cd8e2e6aebddfbbccefb 100644 |
--- a/src/builtins/arm/builtins-arm.cc |
+++ b/src/builtins/arm/builtins-arm.cc |
@@ -326,11 +326,11 @@ void Builtins::Generate_NumberConstructor_ConstructStub(MacroAssembler* masm) { |
__ bind(&new_object); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- FastNewObjectStub stub(masm->isolate()); |
__ SmiTag(r6); |
__ EnterBuiltinFrame(cp, r1, r6); |
__ Push(r2); // first argument |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(r2); |
__ LeaveBuiltinFrame(cp, r1, r6); |
__ SmiUntag(r6); |
@@ -474,11 +474,11 @@ void Builtins::Generate_StringConstructor_ConstructStub(MacroAssembler* masm) { |
__ bind(&new_object); |
{ |
FrameScope scope(masm, StackFrame::MANUAL); |
- FastNewObjectStub stub(masm->isolate()); |
__ SmiTag(r6); |
__ EnterBuiltinFrame(cp, r1, r6); |
__ Push(r2); // first argument |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ Pop(r2); |
__ LeaveBuiltinFrame(cp, r1, r6); |
__ SmiUntag(r6); |
@@ -574,8 +574,8 @@ void Generate_JSConstructStubHelper(MacroAssembler* masm, bool is_api_function, |
if (create_implicit_receiver) { |
// Allocate the new receiver object. |
__ Push(r1, r3); |
- FastNewObjectStub stub(masm->isolate()); |
- __ CallStub(&stub); |
+ __ Call(CodeFactory::FastNewObject(masm->isolate()).code(), |
+ RelocInfo::CODE_TARGET); |
__ mov(r4, r0); |
__ Pop(r1, r3); |