| Index: src/ppc/codegen-ppc.cc
|
| diff --git a/src/ppc/codegen-ppc.cc b/src/ppc/codegen-ppc.cc
|
| index 8f2f1cd902f4f3a56630b4a00d4c30f7e23757df..07853edc2056c112669a2896fc2c0effb374a7bb 100644
|
| --- a/src/ppc/codegen-ppc.cc
|
| +++ b/src/ppc/codegen-ppc.cc
|
| @@ -6,6 +6,8 @@
|
|
|
| #if V8_TARGET_ARCH_PPC
|
|
|
| +#include <memory>
|
| +
|
| #include "src/codegen.h"
|
| #include "src/macro-assembler.h"
|
| #include "src/ppc/simulator-ppc.h"
|
| @@ -466,7 +468,7 @@ CodeAgingHelper::CodeAgingHelper(Isolate* isolate) {
|
| // 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.
|
| - base::SmartPointer<CodePatcher> patcher(
|
| + std::unique_ptr<CodePatcher> patcher(
|
| new CodePatcher(isolate, young_sequence_.start(),
|
| young_sequence_.length() / Assembler::kInstrSize,
|
| CodePatcher::DONT_FLUSH));
|
|
|