Index: src/x64/assembler-x64-inl.h |
diff --git a/src/x64/assembler-x64-inl.h b/src/x64/assembler-x64-inl.h |
index 91bc528f310aa537290dde522d09129a2cbe0822..87cf351c1ad645e542d87600a6f8bbd3ed79f3f8 100644 |
--- a/src/x64/assembler-x64-inl.h |
+++ b/src/x64/assembler-x64-inl.h |
@@ -332,24 +332,23 @@ void RelocInfo::set_target_runtime_entry(Address target, |
} |
-Handle<JSGlobalPropertyCell> RelocInfo::target_cell_handle() { |
+Handle<Cell> RelocInfo::target_cell_handle() { |
ASSERT(rmode_ == RelocInfo::GLOBAL_PROPERTY_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() { |
+Cell* RelocInfo::target_cell() { |
ASSERT(rmode_ == RelocInfo::GLOBAL_PROPERTY_CELL); |
- return JSGlobalPropertyCell::FromValueAddress(Memory::Address_at(pc_)); |
+ return Cell::FromValueAddress(Memory::Address_at(pc_)); |
} |
-void RelocInfo::set_target_cell(JSGlobalPropertyCell* cell, |
+void RelocInfo::set_target_cell(Cell* cell, |
WriteBarrierMode mode) { |
ASSERT(rmode_ == RelocInfo::GLOBAL_PROPERTY_CELL); |
- Address address = cell->address() + JSGlobalPropertyCell::kValueOffset; |
+ Address address = cell->address() + Cell::kValueOffset; |
Memory::Address_at(pc_) = address; |
CPU::FlushICache(pc_, sizeof(Address)); |
if (mode == UPDATE_WRITE_BARRIER && |