Index: src/hydrogen-instructions.h |
diff --git a/src/hydrogen-instructions.h b/src/hydrogen-instructions.h |
index f7a3554f7ae8350418f3cbf4c3849d254d0a455f..cd117efce2cc8f5222c283b77caf618db9d362e3 100644 |
--- a/src/hydrogen-instructions.h |
+++ b/src/hydrogen-instructions.h |
@@ -5826,9 +5826,8 @@ class HObjectAccess V8_FINAL { |
return HObjectAccess( |
kArrayLengths, |
JSArray::kLengthOffset, |
- IsFastElementsKind(elements_kind) && |
- FLAG_track_fields |
- ? Representation::Smi() : Representation::Tagged()); |
+ IsFastElementsKind(elements_kind) |
+ ? Representation::Smi() : Representation::Tagged()); |
} |
static HObjectAccess ForAllocationSiteOffset(int offset); |
@@ -5842,7 +5841,7 @@ class HObjectAccess V8_FINAL { |
return HObjectAccess( |
kArrayLengths, |
FixedArray::kLengthOffset, |
- FLAG_track_fields ? Representation::Smi() : Representation::Tagged()); |
+ Representation::Smi()); |
} |
static HObjectAccess ForStringHashField() { |
@@ -5856,7 +5855,7 @@ class HObjectAccess V8_FINAL { |
return HObjectAccess( |
kStringLengths, |
String::kLengthOffset, |
- FLAG_track_fields ? Representation::Smi() : Representation::Tagged()); |
+ Representation::Smi()); |
} |
static HObjectAccess ForConsStringFirst() { |
@@ -6147,8 +6146,7 @@ class HLoadNamedField V8_FINAL : public HTemplateInstruction<2> { |
representation.IsExternal() || |
representation.IsInteger32()) { |
set_representation(representation); |
- } else if (FLAG_track_heap_object_fields && |
- representation.IsHeapObject()) { |
+ } else if (representation.IsHeapObject()) { |
set_type(HType::NonPrimitive()); |
set_representation(Representation::Tagged()); |
} else { |
@@ -6546,8 +6544,7 @@ class HStoreNamedField V8_FINAL : public HTemplateInstruction<3> { |
} |
bool NeedsWriteBarrier() { |
- ASSERT(!(FLAG_track_double_fields && field_representation().IsDouble()) || |
- !has_transition()); |
+ ASSERT(!field_representation().IsDouble() || !has_transition()); |
if (IsSkipWriteBarrier()) return false; |
if (field_representation().IsDouble()) return false; |
if (field_representation().IsSmi()) return false; |