| Index: src/mips64/codegen-mips64.cc
|
| diff --git a/src/mips64/codegen-mips64.cc b/src/mips64/codegen-mips64.cc
|
| index 5d547d18ca4f3e461a5a3c86152d43a955c294a3..7df4c76e688665acb8318b351010e650456cb25c 100644
|
| --- a/src/mips64/codegen-mips64.cc
|
| +++ b/src/mips64/codegen-mips64.cc
|
| @@ -58,7 +58,7 @@ UnaryMathFunctionWithIsolate CreateExpFunction(Isolate* isolate) {
|
| masm.GetCode(&desc);
|
| DCHECK(!RelocInfo::RequiresRelocation(desc));
|
|
|
| - CpuFeatures::FlushICache(buffer, actual_size);
|
| + Assembler::FlushICache(isolate, buffer, actual_size);
|
| base::OS::ProtectCode(buffer, actual_size);
|
|
|
| #if !defined(USE_SIMULATOR)
|
| @@ -598,7 +598,7 @@ MemCopyUint8Function CreateMemCopyUint8Function(MemCopyUint8Function stub) {
|
| masm.GetCode(&desc);
|
| DCHECK(!RelocInfo::RequiresRelocation(desc));
|
|
|
| - CpuFeatures::FlushICache(buffer, actual_size);
|
| + Assembler::FlushICacheWithoutIsolate(buffer, actual_size);
|
| base::OS::ProtectCode(buffer, actual_size);
|
| return FUNCTION_CAST<MemCopyUint8Function>(buffer);
|
| #endif
|
| @@ -1238,7 +1238,7 @@ void Code::PatchPlatformCodeAge(Isolate* isolate,
|
| 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 {
|
| Code* stub = GetCodeAgeStub(isolate, age, parity);
|
| CodePatcher patcher(sequence, young_length / Assembler::kInstrSize);
|
|
|