Index: src/full-codegen/mips/full-codegen-mips.cc |
diff --git a/src/full-codegen/mips/full-codegen-mips.cc b/src/full-codegen/mips/full-codegen-mips.cc |
index 1bf21f085b2adfd9c50317ac4ef374437af15550..c29404d1f51ac989aed6f1bf5abb715cd95b676f 100644 |
--- a/src/full-codegen/mips/full-codegen-mips.cc |
+++ b/src/full-codegen/mips/full-codegen-mips.cc |
@@ -3183,12 +3183,6 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ lw(a1, MemOperand(sp, 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); |
- } |
- |
__ li(a2, FeedbackVector()); |
__ li(a3, Operand(SmiFromSlot(expr->CallNewFeedbackSlot()))); |
@@ -3229,15 +3223,6 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { |
__ lw(a1, MemOperand(sp, 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); |
- */ |
- } |
- |
__ li(a2, FeedbackVector()); |
__ li(a3, Operand(SmiFromSlot(expr->CallFeedbackSlot()))); |