| Index: src/arm/codegen-arm.cc
|
| diff --git a/src/arm/codegen-arm.cc b/src/arm/codegen-arm.cc
|
| index a456996a270e86474020fa5f77298cba7ef5d9a0..f433a0e36d42ed401181634be4be6c4c7f86c0e1 100644
|
| --- a/src/arm/codegen-arm.cc
|
| +++ b/src/arm/codegen-arm.cc
|
| @@ -888,10 +888,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 ARM 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()->PushFixedFrame(r1);
|
| patcher->masm()->nop(ip.code());
|
|
|