| Index: src/mips/assembler-mips-inl.h
|
| diff --git a/src/mips/assembler-mips-inl.h b/src/mips/assembler-mips-inl.h
|
| index 2ca00831cfb80f8cb1e014ac3937b769d2d7c9c1..6d6593e708278137cd02af77f4dcebe5d1aab48e 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();
|
| }
|
|
|
|
|