Index: src/arm/assembler-arm-inl.h |
diff --git a/src/arm/assembler-arm-inl.h b/src/arm/assembler-arm-inl.h |
index 1e0d5c1f7dd4a43a24a7e23d243fb4631c58706b..17831c87b4d1fa9ba6644ab1850eebb60dd7c75c 100644 |
--- a/src/arm/assembler-arm-inl.h |
+++ b/src/arm/assembler-arm-inl.h |
@@ -179,24 +179,22 @@ void RelocInfo::set_target_runtime_entry(Address target, |
} |
-Handle<JSGlobalPropertyCell> RelocInfo::target_cell_handle() { |
- ASSERT(rmode_ == RelocInfo::GLOBAL_PROPERTY_CELL); |
+Handle<Cell> RelocInfo::target_cell_handle() { |
+ ASSERT(rmode_ == RelocInfo::CELL); |
Address address = Memory::Address_at(pc_); |
- return Handle<JSGlobalPropertyCell>( |
- reinterpret_cast<JSGlobalPropertyCell**>(address)); |
+ return Handle<Cell>(reinterpret_cast<Cell**>(address)); |
} |
-JSGlobalPropertyCell* RelocInfo::target_cell() { |
- ASSERT(rmode_ == RelocInfo::GLOBAL_PROPERTY_CELL); |
- return JSGlobalPropertyCell::FromValueAddress(Memory::Address_at(pc_)); |
+Cell* RelocInfo::target_cell() { |
+ ASSERT(rmode_ == RelocInfo::CELL); |
+ return Cell::FromValueAddress(Memory::Address_at(pc_)); |
} |
-void RelocInfo::set_target_cell(JSGlobalPropertyCell* cell, |
- WriteBarrierMode mode) { |
- ASSERT(rmode_ == RelocInfo::GLOBAL_PROPERTY_CELL); |
- Address address = cell->address() + JSGlobalPropertyCell::kValueOffset; |
+void RelocInfo::set_target_cell(Cell* cell, WriteBarrierMode mode) { |
+ ASSERT(rmode_ == RelocInfo::CELL); |
+ Address address = cell->address() + Cell::kValueOffset; |
Memory::Address_at(pc_) = address; |
if (mode == UPDATE_WRITE_BARRIER && host() != NULL) { |
// TODO(1550) We are passing NULL as a slot because cell can never be on |
@@ -286,8 +284,8 @@ void RelocInfo::Visit(ObjectVisitor* visitor) { |
visitor->VisitEmbeddedPointer(this); |
} else if (RelocInfo::IsCodeTarget(mode)) { |
visitor->VisitCodeTarget(this); |
- } else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) { |
- visitor->VisitGlobalPropertyCell(this); |
+ } else if (mode == RelocInfo::CELL) { |
+ visitor->VisitCell(this); |
} else if (mode == RelocInfo::EXTERNAL_REFERENCE) { |
visitor->VisitExternalReference(this); |
} else if (RelocInfo::IsCodeAgeSequence(mode)) { |
@@ -314,8 +312,8 @@ void RelocInfo::Visit(Heap* heap) { |
StaticVisitor::VisitEmbeddedPointer(heap, this); |
} else if (RelocInfo::IsCodeTarget(mode)) { |
StaticVisitor::VisitCodeTarget(heap, this); |
- } else if (mode == RelocInfo::GLOBAL_PROPERTY_CELL) { |
- StaticVisitor::VisitGlobalPropertyCell(heap, this); |
+ } else if (mode == RelocInfo::CELL) { |
+ StaticVisitor::VisitCell(heap, this); |
} else if (mode == RelocInfo::EXTERNAL_REFERENCE) { |
StaticVisitor::VisitExternalReference(this); |
} else if (RelocInfo::IsCodeAgeSequence(mode)) { |