| Index: src/x87/codegen-x87.cc
|
| diff --git a/src/x87/codegen-x87.cc b/src/x87/codegen-x87.cc
|
| index 822dd9442ffea3d801b4a5219944289db509afe8..5df3f1f02616e21276d3a0aeafd1ac98e95faa81 100644
|
| --- a/src/x87/codegen-x87.cc
|
| +++ b/src/x87/codegen-x87.cc
|
| @@ -182,7 +182,7 @@ MemMoveFunction CreateMemMoveFunction() {
|
| CodeDesc desc;
|
| masm.GetCode(&desc);
|
| DCHECK(!RelocInfo::RequiresRelocation(desc));
|
| - CpuFeatures::FlushICache(buffer, actual_size);
|
| + Assembler::FlushICacheWithoutIsolate(buffer, actual_size);
|
| base::OS::ProtectCode(buffer, actual_size);
|
| // TODO(jkummerow): It would be nice to register this code creation event
|
| // with the PROFILE / GDBJIT system.
|
| @@ -617,7 +617,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);
|
|
|