| Index: src/ppc/codegen-ppc.cc
|
| diff --git a/src/ppc/codegen-ppc.cc b/src/ppc/codegen-ppc.cc
|
| index 3032da8b19c1a8301cb6a2aeb4db2d8dd4f3e9a4..b313d11bb319c359b8dbb30d0fd2f0992952c9d3 100644
|
| --- a/src/ppc/codegen-ppc.cc
|
| +++ b/src/ppc/codegen-ppc.cc
|
| @@ -62,7 +62,7 @@ UnaryMathFunction CreateExpFunction() {
|
| DCHECK(!RelocInfo::RequiresRelocation(desc));
|
| #endif
|
|
|
| - CpuFeatures::FlushICache(buffer, actual_size);
|
| + Assembler::FlushICacheWithoutIsolate(buffer, actual_size);
|
| base::OS::ProtectCode(buffer, actual_size);
|
|
|
| #if !defined(USE_SIMULATOR)
|
| @@ -99,7 +99,7 @@ UnaryMathFunction CreateSqrtFunction() {
|
| DCHECK(!RelocInfo::RequiresRelocation(desc));
|
| #endif
|
|
|
| - CpuFeatures::FlushICache(buffer, actual_size);
|
| + Assembler::FlushICacheWithoutIsolate(buffer, actual_size);
|
| base::OS::ProtectCode(buffer, actual_size);
|
| return FUNCTION_CAST<UnaryMathFunction>(buffer);
|
| #endif
|
| @@ -660,7 +660,7 @@ void Code::PatchPlatformCodeAge(Isolate* isolate, byte* sequence, Code::Age age,
|
| uint32_t young_length = isolate->code_aging_helper()->young_sequence_length();
|
| if (age == kNoAgeCodeAge) {
|
| isolate->code_aging_helper()->CopyYoungSequenceTo(sequence);
|
| - CpuFeatures::FlushICache(sequence, young_length);
|
| + Assembler::FlushICache(isolate, sequence, young_length);
|
| } else {
|
| // FIXED_SEQUENCE
|
| Code* stub = GetCodeAgeStub(isolate, age, parity);
|
|
|