Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 7c997089245b3e23a1b28e36164214c02605f224..1cab549d3dc47d3b405b82ff5745c8ccd2fab6ef 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -2618,48 +2618,6 @@ |
RelocInfo::CODE_TARGET); |
} |
-// static |
-void Builtins::Generate_AllocateInNewSpace(MacroAssembler* masm) { |
- // ----------- S t a t e ------------- |
- // -- edx : requested object size (tagged) |
- // -- esi : context |
- // ----------------------------------- |
- __ AssertSmi(edx); |
- |
- Label runtime; |
- __ SmiUntag(edx); |
- __ Allocate(edx, eax, ecx, edi, &runtime, NO_ALLOCATION_FLAGS); |
- __ Ret(); |
- |
- __ bind(&runtime); |
- __ SmiTag(edx); |
- __ PopReturnAddressTo(ecx); |
- __ Push(edx); |
- __ PushReturnAddressFrom(ecx); |
- __ TailCallRuntime(Runtime::kAllocateInNewSpace); |
-} |
- |
-// static |
-void Builtins::Generate_AllocateInOldSpace(MacroAssembler* masm) { |
- // ----------- S t a t e ------------- |
- // -- edx : requested object size (tagged) |
- // -- esi : context |
- // ----------------------------------- |
- __ AssertSmi(edx); |
- |
- Label runtime; |
- __ SmiUntag(edx); |
- __ Allocate(edx, eax, ecx, edi, &runtime, PRETENURE); |
- __ Ret(); |
- |
- __ bind(&runtime); |
- __ SmiTag(edx); |
- __ PopReturnAddressTo(ecx); |
- __ Push(edx); |
- __ Push(Smi::FromInt(AllocateTargetSpace::encode(OLD_SPACE))); |
- __ PushReturnAddressFrom(ecx); |
- __ TailCallRuntime(Runtime::kAllocateInTargetSpace); |
-} |
void Builtins::Generate_ArgumentsAdaptorTrampoline(MacroAssembler* masm) { |
// ----------- S t a t e ------------- |