| Index: src/x64/stub-cache-x64.cc
|
| diff --git a/src/x64/stub-cache-x64.cc b/src/x64/stub-cache-x64.cc
|
| index a7faf9b663dd0410dd9598acc6c6b385ed3b90d2..f0b362b947d046184bfd592ee381b9a938933394 100644
|
| --- a/src/x64/stub-cache-x64.cc
|
| +++ b/src/x64/stub-cache-x64.cc
|
| @@ -807,6 +807,8 @@ void StubCompiler::GenerateStoreTransition(MacroAssembler* masm,
|
|
|
| if (FLAG_track_fields && representation.IsSmi()) {
|
| __ JumpIfNotSmi(value_reg, miss_restore_name);
|
| + } else if (FLAG_track_heap_object_fields && representation.IsHeapObject()) {
|
| + __ JumpIfSmi(value_reg, miss_restore_name);
|
| } else if (FLAG_track_double_fields && representation.IsDouble()) {
|
| Label do_store, heap_number;
|
| __ AllocateHeapNumber(storage_reg, scratch1, slow);
|
| @@ -953,6 +955,8 @@ void StubCompiler::GenerateStoreField(MacroAssembler* masm,
|
| ASSERT(!representation.IsNone());
|
| if (FLAG_track_fields && representation.IsSmi()) {
|
| __ JumpIfNotSmi(value_reg, miss_label);
|
| + } else if (FLAG_track_heap_object_fields && representation.IsHeapObject()) {
|
| + __ JumpIfSmi(value_reg, miss_label);
|
| } else if (FLAG_track_double_fields && representation.IsDouble()) {
|
| // Load the double storage.
|
| if (index < 0) {
|
|
|