| Index: src/mips/assembler-mips.h
|
| diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h
|
| index 49cce621efa2a48b89dd7250504a73a0fd304880..70f77eaeda8726fe830a3e6ad7f5443613275304 100644
|
| --- a/src/mips/assembler-mips.h
|
| +++ b/src/mips/assembler-mips.h
|
| @@ -386,7 +386,15 @@ class Operand BASE_EMBEDDED {
|
| // Class MemOperand represents a memory operand in load and store instructions.
|
| class MemOperand : public Operand {
|
| public:
|
| + // Immediate value attached to offset.
|
| + enum OffsetAddend {
|
| + offset_minus_one = -1,
|
| + offset_zero = 0
|
| + };
|
| +
|
| explicit MemOperand(Register rn, int32_t offset = 0);
|
| + explicit MemOperand(Register rn, int32_t unit, int32_t multiplier,
|
| + OffsetAddend offset_addend = offset_zero);
|
| int32_t offset() const { return offset_; }
|
|
|
| bool OffsetIsInt16Encodable() const {
|
| @@ -537,13 +545,6 @@ class Assembler : public AssemblerBase {
|
| target);
|
| }
|
|
|
| - // This sets the branch destination.
|
| - // This is for calls and branches to runtime code.
|
| - inline static void set_external_target_at(Address instruction_payload,
|
| - Address target) {
|
| - set_target_address_at(instruction_payload, target);
|
| - }
|
| -
|
| // Size of an instruction.
|
| static const int kInstrSize = sizeof(Instr);
|
|
|
| @@ -718,6 +719,11 @@ class Assembler : public AssemblerBase {
|
| void swr(Register rd, const MemOperand& rs);
|
|
|
|
|
| + //----------------Prefetch--------------------
|
| +
|
| + void pref(int32_t hint, const MemOperand& rs);
|
| +
|
| +
|
| //-------------Misc-instructions--------------
|
|
|
| // Break / Trap instructions.
|
|
|