Index: src/ia32/builtins-ia32.cc |
diff --git a/src/ia32/builtins-ia32.cc b/src/ia32/builtins-ia32.cc |
index 31f56461eec9e230c2f3a5b4a9b55934873135c8..a984adec47ccaef552fafee078edc24e96261d23 100644 |
--- a/src/ia32/builtins-ia32.cc |
+++ b/src/ia32/builtins-ia32.cc |
@@ -2624,11 +2624,6 @@ void Builtins::Generate_AllocateInNewSpace(MacroAssembler* masm) { |
// -- edx : requested object size (untagged) |
// -- esp[0] : return address |
// ----------------------------------- |
- Label runtime; |
- __ Allocate(edx, eax, ecx, edi, &runtime, NO_ALLOCATION_FLAGS); |
- __ Ret(); |
- |
- __ bind(&runtime); |
__ SmiTag(edx); |
__ PopReturnAddressTo(ecx); |
__ Push(edx); |
@@ -2643,11 +2638,6 @@ void Builtins::Generate_AllocateInOldSpace(MacroAssembler* masm) { |
// -- edx : requested object size (untagged) |
// -- esp[0] : return address |
// ----------------------------------- |
- Label runtime; |
- __ Allocate(edx, eax, ecx, edi, &runtime, PRETENURE); |
- __ Ret(); |
- |
- __ bind(&runtime); |
__ SmiTag(edx); |
__ PopReturnAddressTo(ecx); |
__ Push(edx); |