PPC: [turbofan] Change way OFF_HEAP_TARGET reloc info is omitted
Port0f5a07191f
Original Commit Message: This CL reverts commit38bec2eadc
and implements the same functionality via Assembler::RecordRelocInfo. R=sigurds@chromium.org, joransiu@ca.ibm.com, michael_dawson@ca.ibm.com BUG= LOG=N Change-Id: I5a6d65bb2cc7cdaf1b982b3fb05cbb01b2099db2 Reviewed-on: https://chromium-review.googlesource.com/1110154 Reviewed-by: Joran Siu <joransiu@ca.ibm.com> Commit-Queue: Junliang Yan <jyan@ca.ibm.com> Cr-Commit-Position: refs/heads/master@{#53948}
This commit is contained in:
parent
51ded9a743
commit
476cd0f079
@ -1453,10 +1453,10 @@ class Assembler : public AssemblerBase {
|
||||
void RecordRelocInfo(RelocInfo::Mode rmode, intptr_t data = 0);
|
||||
ConstantPoolEntry::Access ConstantPoolAddEntry(RelocInfo::Mode rmode,
|
||||
intptr_t value) {
|
||||
bool sharing_ok =
|
||||
RelocInfo::IsNone(rmode) || (!options().record_reloc_info_for_exrefs &&
|
||||
RelocInfo::IsShareableRelocMode(rmode) &&
|
||||
!is_constant_pool_entry_sharing_blocked());
|
||||
bool sharing_ok = RelocInfo::IsNone(rmode) ||
|
||||
(!options().record_reloc_info_for_serialization &&
|
||||
RelocInfo::IsShareableRelocMode(rmode) &&
|
||||
!is_constant_pool_entry_sharing_blocked());
|
||||
return constant_pool_builder_.AddEntry(pc_offset(), value, sharing_ok);
|
||||
}
|
||||
ConstantPoolEntry::Access ConstantPoolAddEntry(Double value) {
|
||||
|
Loading…
Reference in New Issue
Block a user