summaryrefslogtreecommitdiff
path: root/deps/v8/src/mips64/assembler-mips64-inl.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/mips64/assembler-mips64-inl.h')
-rw-r--r--deps/v8/src/mips64/assembler-mips64-inl.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/deps/v8/src/mips64/assembler-mips64-inl.h b/deps/v8/src/mips64/assembler-mips64-inl.h
index e873e04e13..52947a60ec 100644
--- a/deps/v8/src/mips64/assembler-mips64-inl.h
+++ b/deps/v8/src/mips64/assembler-mips64-inl.h
@@ -56,21 +56,21 @@ bool CpuFeatures::SupportsWasmSimd128() { return IsSupported(MIPS_SIMD); }
Operand::Operand(int64_t immediate, RelocInfo::Mode rmode) {
rm_ = no_reg;
- imm64_ = immediate;
+ value_.immediate = immediate;
rmode_ = rmode;
}
Operand::Operand(const ExternalReference& f) {
rm_ = no_reg;
- imm64_ = reinterpret_cast<int64_t>(f.address());
+ value_.immediate = reinterpret_cast<int64_t>(f.address());
rmode_ = RelocInfo::EXTERNAL_REFERENCE;
}
Operand::Operand(Smi* value) {
rm_ = no_reg;
- imm64_ = reinterpret_cast<intptr_t>(value);
+ value_.immediate = reinterpret_cast<intptr_t>(value);
rmode_ = RelocInfo::NONE32;
}
@@ -130,7 +130,6 @@ Address RelocInfo::target_address_address() {
Address RelocInfo::constant_pool_entry_address() {
UNREACHABLE();
- return NULL;
}