Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1290)

Unified Diff: src/x64/macro-assembler-x64.cc

Issue 11099064: Remove descriptors pointer. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Addressed nits Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/transitions-inl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e8b363e0fba4d037049f9664b37453c353bf2d5d 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,7 @@ 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));
bind(&ok);
}
« no previous file with comments | « src/transitions-inl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698