Index: src/x64/stub-cache-x64.cc |
diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc |
index 1e6dc9a5b9e54ea4c487c58de638a08dcd87f3d2..73ac154c021244ccae4a9ee73485ecaec496c4f1 100644 |
--- a/src/x64/stub-cache-x64.cc |
+++ b/src/x64/stub-cache-x64.cc |
@@ -346,7 +346,7 @@ void StubCompiler::GenerateFastPropertyLoad(MacroAssembler* masm, |
bool inobject, |
int index, |
Representation representation) { |
- ASSERT(!FLAG_track_double_fields || !representation.IsDouble()); |
+ ASSERT(!representation.IsDouble()); |
int offset = index * kPointerSize; |
if (!inobject) { |
// Calculate the offset into the properties array. |
@@ -537,11 +537,11 @@ void StoreStubCompiler::GenerateStoreTransition(MacroAssembler* masm, |
Handle<Object> constant(descriptors->GetValue(descriptor), masm->isolate()); |
__ Cmp(value_reg, constant); |
__ j(not_equal, miss_label); |
- } else if (FLAG_track_fields && representation.IsSmi()) { |
+ } else if (representation.IsSmi()) { |
__ JumpIfNotSmi(value_reg, miss_label); |
- } else if (FLAG_track_heap_object_fields && representation.IsHeapObject()) { |
+ } else if (representation.IsHeapObject()) { |
__ JumpIfSmi(value_reg, miss_label); |
- } else if (FLAG_track_double_fields && representation.IsDouble()) { |
+ } else if (representation.IsDouble()) { |
Label do_store, heap_number; |
__ AllocateHeapNumber(storage_reg, scratch1, slow); |
@@ -614,15 +614,15 @@ void StoreStubCompiler::GenerateStoreTransition(MacroAssembler* masm, |
if (index < 0) { |
// Set the property straight into the object. |
int offset = object->map()->instance_size() + (index * kPointerSize); |
- if (FLAG_track_double_fields && representation.IsDouble()) { |
+ if (representation.IsDouble()) { |
__ movp(FieldOperand(receiver_reg, offset), storage_reg); |
} else { |
__ movp(FieldOperand(receiver_reg, offset), value_reg); |
} |
- if (!FLAG_track_fields || !representation.IsSmi()) { |
+ if (!representation.IsSmi()) { |
// Update the write barrier for the array address. |
- if (!FLAG_track_double_fields || !representation.IsDouble()) { |
+ if (!representation.IsDouble()) { |
__ movp(storage_reg, value_reg); |
} |
__ RecordWriteField( |
@@ -634,15 +634,15 @@ void StoreStubCompiler::GenerateStoreTransition(MacroAssembler* masm, |
int offset = index * kPointerSize + FixedArray::kHeaderSize; |
// Get the properties array (optimistically). |
__ movp(scratch1, FieldOperand(receiver_reg, JSObject::kPropertiesOffset)); |
- if (FLAG_track_double_fields && representation.IsDouble()) { |
+ if (representation.IsDouble()) { |
__ movp(FieldOperand(scratch1, offset), storage_reg); |
} else { |
__ movp(FieldOperand(scratch1, offset), value_reg); |
} |
- if (!FLAG_track_fields || !representation.IsSmi()) { |
+ if (!representation.IsSmi()) { |
// Update the write barrier for the array address. |
- if (!FLAG_track_double_fields || !representation.IsDouble()) { |
+ if (!representation.IsDouble()) { |
__ movp(storage_reg, value_reg); |
} |
__ RecordWriteField( |
@@ -681,11 +681,11 @@ void StoreStubCompiler::GenerateStoreField(MacroAssembler* masm, |
Representation representation = lookup->representation(); |
ASSERT(!representation.IsNone()); |
- if (FLAG_track_fields && representation.IsSmi()) { |
+ if (representation.IsSmi()) { |
__ JumpIfNotSmi(value_reg, miss_label); |
- } else if (FLAG_track_heap_object_fields && representation.IsHeapObject()) { |
+ } else if (representation.IsHeapObject()) { |
__ JumpIfSmi(value_reg, miss_label); |
- } else if (FLAG_track_double_fields && representation.IsDouble()) { |
+ } else if (representation.IsDouble()) { |
// Load the double storage. |
if (index < 0) { |
int offset = object->map()->instance_size() + (index * kPointerSize); |
@@ -724,7 +724,7 @@ void StoreStubCompiler::GenerateStoreField(MacroAssembler* masm, |
int offset = object->map()->instance_size() + (index * kPointerSize); |
__ movp(FieldOperand(receiver_reg, offset), value_reg); |
- if (!FLAG_track_fields || !representation.IsSmi()) { |
+ if (!representation.IsSmi()) { |
// Update the write barrier for the array address. |
// Pass the value being stored in the now unused name_reg. |
__ movp(name_reg, value_reg); |
@@ -739,7 +739,7 @@ void StoreStubCompiler::GenerateStoreField(MacroAssembler* masm, |
__ movp(scratch1, FieldOperand(receiver_reg, JSObject::kPropertiesOffset)); |
__ movp(FieldOperand(scratch1, offset), value_reg); |
- if (!FLAG_track_fields || !representation.IsSmi()) { |
+ if (!representation.IsSmi()) { |
// Update the write barrier for the array address. |
// Pass the value being stored in the now unused name_reg. |
__ movp(name_reg, value_reg); |