| Index: src/mips/assembler-mips-inl.h
|
| diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h
|
| index 2fa6804d1982c6e352dfc7707af608225d0e6a68..9f0817690b14d70c74363f5469e8ea10859b7d41 100644
|
| --- a/src/mips/assembler-mips-inl.h
|
| +++ b/src/mips/assembler-mips-inl.h
|
| @@ -259,20 +259,20 @@ void RelocInfo::set_target_cell(Cell* cell, WriteBarrierMode mode) {
|
| }
|
|
|
|
|
| -static const int kNoCodeAgeSequenceLength = 7;
|
| +static const int kCodeAgeSequenceLength = 7;
|
|
|
| Code* RelocInfo::code_age_stub() {
|
| ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
|
| return Code::GetCodeFromTargetAddress(
|
| Memory::Address_at(pc_ + Assembler::kInstrSize *
|
| - (kNoCodeAgeSequenceLength - 1)));
|
| + (kCodeAgeSequenceLength - 1)));
|
| }
|
|
|
|
|
| void RelocInfo::set_code_age_stub(Code* stub) {
|
| ASSERT(rmode_ == RelocInfo::CODE_AGE_SEQUENCE);
|
| Memory::Address_at(pc_ + Assembler::kInstrSize *
|
| - (kNoCodeAgeSequenceLength - 1)) =
|
| + (kCodeAgeSequenceLength - 1)) =
|
| stub->instruction_start();
|
| }
|
|
|
|
|