Chromium Code Reviews| Index: src/x64/macro-assembler-x64.cc |
| diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
| index 6759b19a28868e5c3c0ce134aea8e6211531b3de..28d25c3358c708efc2bc216d5b1ca437ab578601 100644 |
| --- a/src/x64/macro-assembler-x64.cc |
| +++ b/src/x64/macro-assembler-x64.cc |
| @@ -2925,8 +2925,7 @@ void MacroAssembler::LoadInstanceDescriptors(Register map, |
| isolate()->factory()->fixed_array_map(), |
| &fail, |
| DONT_DO_SMI_CHECK); |
| - movq(temp, FieldOperand(temp, TransitionArray::kDescriptorsPointerOffset)); |
| - movq(descriptors, FieldOperand(temp, JSGlobalPropertyCell::kValueOffset)); |
| + movq(descriptors, FieldOperand(temp, TransitionArray::kDescriptorsOffset)); |
| jmp(&ok); |
| bind(&fail); |
| @@ -2937,8 +2936,8 @@ void MacroAssembler::LoadInstanceDescriptors(Register map, |
| bind(&load_from_back_pointer); |
| movq(temp, FieldOperand(temp, Map::kTransitionsOrBackPointerOffset)); |
| - movq(temp, FieldOperand(temp, TransitionArray::kDescriptorsPointerOffset)); |
| - movq(descriptors, FieldOperand(temp, JSGlobalPropertyCell::kValueOffset)); |
| + movq(descriptors, |
| + FieldOperand(temp, TransitionArray::kDescriptorsOffset)); |
|
Jakob Kummerow
2012/10/11 11:56:25
nit: fits on one line
Toon Verwaest
2012/10/11 12:00:51
Done.
|
| bind(&ok); |
| } |