| Index: src/mips/assembler-mips.h
|
| diff --git a/src/mips/assembler-mips.h b/src/mips/assembler-mips.h
|
| index 50a140bd7648d715c487e35d55742428c6a05ef1..6516cd1e546d199122abe903eb77ab18c84a2c03 100644
|
| --- a/src/mips/assembler-mips.h
|
| +++ b/src/mips/assembler-mips.h
|
| @@ -518,14 +518,11 @@ class Assembler : public AssemblerBase {
|
| // a target is resolved and written.
|
| static const int kSpecialTargetSize = 0;
|
|
|
| - // Number of consecutive instructions used to store 32bit constant.
|
| - // Before jump-optimizations, this constant was used in
|
| - // RelocInfo::target_address_address() function to tell serializer address of
|
| - // the instruction that follows LUI/ORI instruction pair. Now, with new jump
|
| - // optimization, where jump-through-register instruction that usually
|
| - // follows LUI/ORI pair is substituted with J/JAL, this constant equals
|
| - // to 3 instructions (LUI+ORI+J/JAL/JR/JALR).
|
| - static const int kInstructionsFor32BitConstant = 3;
|
| + // Number of consecutive instructions used to store 32bit constant. This
|
| + // constant is used in RelocInfo::target_address_address() function to tell
|
| + // serializer address of the instruction that follows LUI/ORI instruction
|
| + // pair.
|
| + static const int kInstructionsFor32BitConstant = 2;
|
|
|
| // Distance between the instruction referring to the address of the call
|
| // target and the return address.
|
|
|