| Index: src/mips/codegen-mips.cc
|
| diff --git a/src/mips/codegen-mips.cc b/src/mips/codegen-mips.cc
|
| index 23780d8b2597679c747b7eefa78bbcd34e4685de..0d93b0b94bf4ceeff0b034bbde04b8caaf43aec7 100644
|
| --- a/src/mips/codegen-mips.cc
|
| +++ b/src/mips/codegen-mips.cc
|
| @@ -1193,10 +1193,9 @@ CodeAgingHelper::CodeAgingHelper() {
|
| // to avoid overloading the stack in stress conditions.
|
| // DONT_FLUSH is used because the CodeAgingHelper is initialized early in
|
| // the process, before MIPS simulator ICache is setup.
|
| - SmartPointer<CodePatcher> patcher(
|
| - new CodePatcher(young_sequence_.start(),
|
| - young_sequence_.length() / Assembler::kInstrSize,
|
| - CodePatcher::DONT_FLUSH));
|
| + base::SmartPointer<CodePatcher> patcher(new CodePatcher(
|
| + young_sequence_.start(), young_sequence_.length() / Assembler::kInstrSize,
|
| + CodePatcher::DONT_FLUSH));
|
| PredictableCodeSizeScope scope(patcher->masm(), young_sequence_.length());
|
| patcher->masm()->Push(ra, fp, cp, a1);
|
| patcher->masm()->nop(Assembler::CODE_AGE_SEQUENCE_NOP);
|
|
|