| Index: test/cctest/test-code-stubs-mips.cc
|
| diff --git a/test/cctest/test-code-stubs-mips.cc b/test/cctest/test-code-stubs-mips.cc
|
| index 62e2e992bfcbcd4f6e2cb16404e4418636b8b574..796aa1d6107fc1a4ddc1b2ec212ad70b1b8513b8 100644
|
| --- a/test/cctest/test-code-stubs-mips.cc
|
| +++ b/test/cctest/test-code-stubs-mips.cc
|
| @@ -29,11 +29,11 @@
|
|
|
| #include "src/v8.h"
|
|
|
| +#include "src/base/platform/platform.h"
|
| #include "src/code-stubs.h"
|
| #include "src/factory.h"
|
| #include "src/macro-assembler.h"
|
| #include "src/mips/constants-mips.h"
|
| -#include "src/platform.h"
|
| #include "src/simulator.h"
|
| #include "test/cctest/cctest.h"
|
| #include "test/cctest/test-code-stubs.h"
|
| @@ -48,9 +48,8 @@ ConvertDToIFunc MakeConvertDToIFuncTrampoline(Isolate* isolate,
|
| bool inline_fastpath) {
|
| // Allocate an executable page of memory.
|
| size_t actual_size;
|
| - byte* buffer = static_cast<byte*>(OS::Allocate(Assembler::kMinimalBufferSize,
|
| - &actual_size,
|
| - true));
|
| + byte* buffer = static_cast<byte*>(v8::base::OS::Allocate(
|
| + Assembler::kMinimalBufferSize, &actual_size, true));
|
| CHECK(buffer);
|
| HandleScope handles(isolate);
|
| MacroAssembler masm(isolate, buffer, static_cast<int>(actual_size));
|
| @@ -128,7 +127,7 @@ ConvertDToIFunc MakeConvertDToIFuncTrampoline(Isolate* isolate,
|
|
|
| CodeDesc desc;
|
| masm.GetCode(&desc);
|
| - CPU::FlushICache(buffer, actual_size);
|
| + CpuFeatures::FlushICache(buffer, actual_size);
|
| return (reinterpret_cast<ConvertDToIFunc>(
|
| reinterpret_cast<intptr_t>(buffer)));
|
| }
|
|
|