| Index: src/mips/assembler-mips.h
|
| diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h
|
| index f098bb4553a180d5e6c37cd5d3c8f86f43f8a2e1..886ac6c0525ef1ad170f269c0a9218cc58b16f36 100644
|
| --- a/src/mips/assembler-mips.h
|
| +++ b/src/mips/assembler-mips.h
|
| @@ -528,7 +528,11 @@ class Assembler : public AssemblerBase {
|
|
|
| // Distance between the instruction referring to the address of the call
|
| // target and the return address.
|
| +#ifdef _MIPS_ARCH_MIPS32R6
|
| + static const int kCallTargetAddressOffset = 3 * kInstrSize;
|
| +#else
|
| static const int kCallTargetAddressOffset = 4 * kInstrSize;
|
| +#endif
|
|
|
| // Distance between start of patched debug break slot and the emitted address
|
| // to jump to.
|
| @@ -538,7 +542,11 @@ class Assembler : public AssemblerBase {
|
| // register.
|
| static const int kPcLoadDelta = 4;
|
|
|
| +#ifdef _MIPS_ARCH_MIPS32R6
|
| + static const int kDebugBreakSlotInstructions = 3;
|
| +#else
|
| static const int kDebugBreakSlotInstructions = 4;
|
| +#endif
|
| static const int kDebugBreakSlotLength =
|
| kDebugBreakSlotInstructions * kInstrSize;
|
|
|
|
|