Revision: 6732
Author: [email protected]
Date: Thu Feb 10 08:13:21 2011
Log: X64: Add VisitGlobalPropertyCell to the relocinfo visitor.
This fixes GC issues when in the threading tests.
Review URL: http://codereview.chromium.org/6478026
http://code.google.com/p/v8/source/detail?r=6732
Modified:
/branches/bleeding_edge/src/x64/assembler-x64-inl.h
=======================================
--- /branches/bleeding_edge/src/x64/assembler-x64-inl.h Tue Jan 25 03:30:47
2011
+++ /branches/bleeding_edge/src/x64/assembler-x64-inl.h Thu Feb 10 08:13:21
2011
@@ -366,6 +366,8 @@
CPU::FlushICache(pc_, sizeof(Address));
} else if (RelocInfo::IsCodeTarget(mode)) {
visitor->VisitCodeTarget(this);
+ } else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) {
+ visitor->VisitGlobalPropertyCell(this);
} else if (mode == RelocInfo::EXTERNAL_REFERENCE) {
visitor->VisitExternalReference(target_reference_address());
CPU::FlushICache(pc_, sizeof(Address));
@@ -391,6 +393,8 @@
CPU::FlushICache(pc_, sizeof(Address));
} else if (RelocInfo::IsCodeTarget(mode)) {
StaticVisitor::VisitCodeTarget(this);
+ } else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) {
+ StaticVisitor::VisitGlobalPropertyCell(this);
} else if (mode == RelocInfo::EXTERNAL_REFERENCE) {
StaticVisitor::VisitExternalReference(target_reference_address());
CPU::FlushICache(pc_, sizeof(Address));
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev