| Index: src/x64/builtins-x64.cc
|
| diff --git a/src/x64/builtins-x64.cc b/src/x64/builtins-x64.cc
|
| index c2c61866e4b0535c680acdb7115b5b1c9859b818..478ea193e6383f52c7813442c8429476cc09cd54 100644
|
| --- a/src/x64/builtins-x64.cc
|
| +++ b/src/x64/builtins-x64.cc
|
| @@ -2042,48 +2042,6 @@
|
| __ PushReturnAddressFrom(rcx);
|
| }
|
|
|
| -// static
|
| -void Builtins::Generate_AllocateInNewSpace(MacroAssembler* masm) {
|
| - // ----------- S t a t e -------------
|
| - // -- rdx : requested object size (tagged)
|
| - // -- rsi : context
|
| - // -----------------------------------
|
| - __ AssertSmi(rdx);
|
| -
|
| - Label runtime;
|
| - __ SmiToInteger64(rdx, rdx);
|
| - __ Allocate(rdx, rax, rcx, rdi, &runtime, NO_ALLOCATION_FLAGS);
|
| - __ Ret();
|
| -
|
| - __ bind(&runtime);
|
| - __ Integer32ToSmi(rdx, rdx);
|
| - __ PopReturnAddressTo(rcx);
|
| - __ Push(rdx);
|
| - __ PushReturnAddressFrom(rcx);
|
| - __ TailCallRuntime(Runtime::kAllocateInNewSpace);
|
| -}
|
| -
|
| -// static
|
| -void Builtins::Generate_AllocateInOldSpace(MacroAssembler* masm) {
|
| - // ----------- S t a t e -------------
|
| - // -- rdx : requested object size (tagged)
|
| - // -- rsi : context
|
| - // -----------------------------------
|
| - __ AssertSmi(rdx);
|
| -
|
| - Label runtime;
|
| - __ SmiToInteger64(rdx, rdx);
|
| - __ Allocate(rdx, rax, rcx, rdi, &runtime, PRETENURE);
|
| - __ Ret();
|
| -
|
| - __ bind(&runtime);
|
| - __ Integer32ToSmi(rdx, rdx);
|
| - __ PopReturnAddressTo(rcx);
|
| - __ Push(rdx);
|
| - __ Push(Smi::FromInt(AllocateTargetSpace::encode(OLD_SPACE)));
|
| - __ PushReturnAddressFrom(rcx);
|
| - __ TailCallRuntime(Runtime::kAllocateInTargetSpace);
|
| -}
|
|
|
| void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) {
|
| // ----------- S t a t e -------------
|
|
|