Index: src/hydrogen.cc |
diff --git a/src/hydrogen.cc b/src/hydrogen.cc |
index f41748518a988ad9a364e7a9552fa45dac7b4474..52184b36e679937eb341a6f9d9f5ebda29494c17 100644 |
--- a/src/hydrogen.cc |
+++ b/src/hydrogen.cc |
@@ -9908,16 +9908,6 @@ void HOptimizedGraphBuilder::VisitCallNew(CallNew* expr) { |
// Allocate an instance of the implicit receiver object. |
HValue* size_in_bytes = Add<HConstant>(instance_size); |
HAllocationMode allocation_mode; |
- if (FLAG_pretenuring_call_new) { |
- if (FLAG_allocation_site_pretenuring) { |
- // Try to use pretenuring feedback. |
- Handle<AllocationSite> allocation_site = expr->allocation_site(); |
- allocation_mode = HAllocationMode(allocation_site); |
- // Take a dependency on allocation site. |
- top_info()->dependencies()->AssumeTenuringDecision(allocation_site); |
- } |
- } |
- |
HAllocate* receiver = BuildAllocate( |
size_in_bytes, HType::JSObject(), JS_OBJECT_TYPE, allocation_mode); |
receiver->set_known_initial_map(initial_map); |