Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index 48ea2b3476fb87c350a3a7d5d4a8d9afb19ff2a9..c8b149b8ddaf164b141c9f6377e798e637aa550e 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5300,7 +5300,7 @@ class HAllocate V8_FINAL : public HTemplateInstruction<2> { |
PretenureFlag pretenure_flag, |
InstanceType instance_type) { |
return new(zone) HAllocate(context, size, type, pretenure_flag, |
- instance_type, zone); |
+ instance_type); |
} |
// Maximum instance size for which allocations will be inlined. |
@@ -5373,8 +5373,7 @@ class HAllocate V8_FINAL : public HTemplateInstruction<2> { |
HValue* size, |
HType type, |
PretenureFlag pretenure_flag, |
- InstanceType instance_type, |
- Zone* zone) |
+ InstanceType instance_type) |
: HTemplateInstruction<2>(type), |
dominating_allocate_(NULL), |
filler_free_space_size_(NULL), |
@@ -5397,8 +5396,7 @@ class HAllocate V8_FINAL : public HTemplateInstruction<2> { |
// other, i.e., have a pointer to each other. A GC in between these |
// allocations may leave such objects behind in a not completely initialized |
// state. |
- if (!FLAG_use_gvn || !FLAG_use_allocation_folding || |
- zone->isolate()->heap_profiler()->is_tracking_allocations()) { |
+ if (!FLAG_use_gvn || !FLAG_use_allocation_folding) { |
flags_ = static_cast<HAllocate::Flags>(flags_ | PREFILL_WITH_FILLER); |
} |
clear_next_map_word_ = pretenure_flag == NOT_TENURED && |