Index: src/full-codegen/ia32/full-codegen-ia32.cc |
diff --git a/src/full-codegen/ia32/full-codegen-ia32.cc b/src/full-codegen/ia32/full-codegen-ia32.cc |
index 9729f59cc9977b924a6e772bf497ac3438126484..285975cbd9ed8fac8855b1e5fe49bb33a33fc4fc 100644 |
--- a/src/full-codegen/ia32/full-codegen-ia32.cc |
+++ b/src/full-codegen/ia32/full-codegen-ia32.cc |
@@ -3080,12 +3080,6 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ mov(edi, Operand(esp, arg_count * kPointerSize)); |
// Record call targets in unoptimized code. |
- if (FLAG_pretenuring_call_new) { |
- EnsureSlotContainsAllocationSite(expr->AllocationSiteFeedbackSlot()); |
- DCHECK(expr->AllocationSiteFeedbackSlot().ToInt() == |
- expr->CallNewFeedbackSlot().ToInt() + 1); |
- } |
- |
__ LoadHeapObject(ebx, FeedbackVector()); |
__ mov(edx, Immediate(SmiFromSlot(expr->CallNewFeedbackSlot()))); |
@@ -3126,15 +3120,6 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { |
__ mov(edi, Operand(esp, arg_count * kPointerSize)); |
// Record call targets in unoptimized code. |
- if (FLAG_pretenuring_call_new) { |
- UNREACHABLE(); |
- /* TODO(dslomov): support pretenuring. |
- EnsureSlotContainsAllocationSite(expr->AllocationSiteFeedbackSlot()); |
- DCHECK(expr->AllocationSiteFeedbackSlot().ToInt() == |
- expr->CallNewFeedbackSlot().ToInt() + 1); |
- */ |
- } |
- |
__ LoadHeapObject(ebx, FeedbackVector()); |
__ mov(edx, Immediate(SmiFromSlot(expr->CallFeedbackSlot()))); |