summaryrefslogtreecommitdiff
path: root/deps/v8/src/codegen/ppc/assembler-ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/codegen/ppc/assembler-ppc.h')
-rw-r--r--deps/v8/src/codegen/ppc/assembler-ppc.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/deps/v8/src/codegen/ppc/assembler-ppc.h b/deps/v8/src/codegen/ppc/assembler-ppc.h
index 654c856d7d..ea82539afb 100644
--- a/deps/v8/src/codegen/ppc/assembler-ppc.h
+++ b/deps/v8/src/codegen/ppc/assembler-ppc.h
@@ -67,7 +67,7 @@ class V8_EXPORT_PRIVATE Operand {
public:
// immediate
V8_INLINE explicit Operand(intptr_t immediate,
- RelocInfo::Mode rmode = RelocInfo::NONE)
+ RelocInfo::Mode rmode = RelocInfo::NO_INFO)
: rmode_(rmode) {
value_.immediate = immediate;
}
@@ -77,7 +77,7 @@ class V8_EXPORT_PRIVATE Operand {
value_.immediate = static_cast<intptr_t>(f.address());
}
explicit Operand(Handle<HeapObject> handle);
- V8_INLINE explicit Operand(Smi value) : rmode_(RelocInfo::NONE) {
+ V8_INLINE explicit Operand(Smi value) : rmode_(RelocInfo::NO_INFO) {
value_.immediate = static_cast<intptr_t>(value.ptr());
}
// rm
@@ -968,6 +968,10 @@ class Assembler : public AssemblerBase {
void bitwise_mov32(Register dst, int32_t value);
void bitwise_add32(Register dst, Register src, int32_t value);
+ // Patch the offset to the return address after CallCFunction.
+ void patch_wasm_cpi_return_address(Register dst, int pc_offset,
+ int return_address_offset);
+
// Load the position of the label relative to the generated code object
// pointer in a register.
void mov_label_offset(Register dst, Label* label);
@@ -1206,9 +1210,9 @@ class Assembler : public AssemblerBase {
// Writes a single byte or word of data in the code stream. Used
// for inline tables, e.g., jump-tables.
void db(uint8_t data);
- void dd(uint32_t data, RelocInfo::Mode rmode = RelocInfo::NONE);
- void dq(uint64_t data, RelocInfo::Mode rmode = RelocInfo::NONE);
- void dp(uintptr_t data, RelocInfo::Mode rmode = RelocInfo::NONE);
+ void dd(uint32_t data, RelocInfo::Mode rmode = RelocInfo::NO_INFO);
+ void dq(uint64_t data, RelocInfo::Mode rmode = RelocInfo::NO_INFO);
+ void dp(uintptr_t data, RelocInfo::Mode rmode = RelocInfo::NO_INFO);
// Read/patch instructions
Instr instr_at(int pos) {
@@ -1303,7 +1307,7 @@ class Assembler : public AssemblerBase {
ConstantPoolEntry::Access ConstantPoolAddEntry(RelocInfo::Mode rmode,
intptr_t value) {
bool sharing_ok =
- RelocInfo::IsNone(rmode) ||
+ RelocInfo::IsNoInfo(rmode) ||
(!options().record_reloc_info_for_serialization &&
RelocInfo::IsShareableRelocMode(rmode) &&
!is_constant_pool_entry_sharing_blocked() &&