Index: src/full-codegen/ppc/full-codegen-ppc.cc |
diff --git a/src/full-codegen/ppc/full-codegen-ppc.cc b/src/full-codegen/ppc/full-codegen-ppc.cc |
index 81db6b32fbaa011008f338a0b00f5b1728934416..e27e75e42b139619ea45d39275a9fc0c5b70dcc7 100644 |
--- a/src/full-codegen/ppc/full-codegen-ppc.cc |
+++ b/src/full-codegen/ppc/full-codegen-ppc.cc |
@@ -3182,12 +3182,6 @@ void FullCodeGenerator::VisitCallNew(CallNew* expr) { |
__ LoadP(r4, MemOperand(sp, arg_count * kPointerSize), r0); |
// Record call targets in unoptimized code. |
- if (FLAG_pretenuring_call_new) { |
- EnsureSlotContainsAllocationSite(expr->AllocationSiteFeedbackSlot()); |
- DCHECK(expr->AllocationSiteFeedbackSlot().ToInt() == |
- expr->CallNewFeedbackSlot().ToInt() + 1); |
- } |
- |
__ Move(r5, FeedbackVector()); |
__ LoadSmiLiteral(r6, SmiFromSlot(expr->CallNewFeedbackSlot())); |
@@ -3228,15 +3222,6 @@ void FullCodeGenerator::EmitSuperConstructorCall(Call* expr) { |
__ LoadP(r4, 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); |
- */ |
- } |
- |
__ Move(r5, FeedbackVector()); |
__ LoadSmiLiteral(r6, SmiFromSlot(expr->CallFeedbackSlot())); |