Index: src/full-codegen/x87/full-codegen-x87.cc |
diff --git a/src/full-codegen/x87/full-codegen-x87.cc b/src/full-codegen/x87/full-codegen-x87.cc |
index bd083adf069e50ea34d5bbbbdeb3644d4356ef4e..e6d5e8cecbf8524b05997a583bd3424126f47ef7 100644 |
--- a/src/full-codegen/x87/full-codegen-x87.cc |
+++ b/src/full-codegen/x87/full-codegen-x87.cc |
@@ -3071,12 +3071,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()))); |
@@ -3117,15 +3111,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()))); |