summaryrefslogtreecommitdiff
path: root/deps/v8/src/codegen/mips/assembler-mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/codegen/mips/assembler-mips.h')
-rw-r--r--deps/v8/src/codegen/mips/assembler-mips.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/deps/v8/src/codegen/mips/assembler-mips.h b/deps/v8/src/codegen/mips/assembler-mips.h
index 0359be2c94..d8cb8ec3f2 100644
--- a/deps/v8/src/codegen/mips/assembler-mips.h
+++ b/deps/v8/src/codegen/mips/assembler-mips.h
@@ -36,6 +36,7 @@
#define V8_CODEGEN_MIPS_ASSEMBLER_MIPS_H_
#include <stdio.h>
+#include <memory>
#include <set>
@@ -1478,13 +1479,11 @@ class V8_EXPORT_PRIVATE Assembler : public AssemblerBase {
static bool IsAddImmediate(Instr instr);
static Instr SetAddImmediateOffset(Instr instr, int16_t offset);
static uint32_t CreateTargetAddress(Instr instr_lui, Instr instr_jic);
- static void UnpackTargetAddress(
- uint32_t address, int16_t& lui_offset, // NOLINT(runtime/references)
- int16_t& jic_offset); // NOLINT(runtime/references)
- static void UnpackTargetAddressUnsigned(
- uint32_t address,
- uint32_t& lui_offset, // NOLINT(runtime/references)
- uint32_t& jic_offset); // NOLINT(runtime/references)
+ static void UnpackTargetAddress(uint32_t address, int16_t* lui_offset,
+ int16_t* jic_offset);
+ static void UnpackTargetAddressUnsigned(uint32_t address,
+ uint32_t* lui_offset,
+ uint32_t* jic_offset);
static bool IsAndImmediate(Instr instr);
static bool IsEmittedConstant(Instr instr);
@@ -1515,7 +1514,7 @@ class V8_EXPORT_PRIVATE Assembler : public AssemblerBase {
// Helper function for memory load/store using base register and offset.
void AdjustBaseAndOffset(
- MemOperand& src, // NOLINT(runtime/references)
+ MemOperand* src,
OffsetAccessType access_type = OffsetAccessType::SINGLE_ACCESS,
int second_access_add_to_offset = 4);