Index: src/arm64/codegen-arm64.cc |
diff --git a/src/arm64/codegen-arm64.cc b/src/arm64/codegen-arm64.cc |
index d5080f1f47b3837f4b8cc26b8edeb8ab66097056..cf8c0ed831b9a3ffe65e07f6f5ff87cef7f61c12 100644 |
--- a/src/arm64/codegen-arm64.cc |
+++ b/src/arm64/codegen-arm64.cc |
@@ -35,7 +35,8 @@ UnaryMathFunction CreateExpFunction() { |
// an AAPCS64-compliant exp() function. This will be faster than the C |
// library's exp() function, but probably less accurate. |
size_t actual_size; |
- byte* buffer = static_cast<byte*>(OS::Allocate(1 * KB, &actual_size, true)); |
+ byte* buffer = |
+ static_cast<byte*>(base::OS::Allocate(1 * KB, &actual_size, true)); |
if (buffer == NULL) return &std::exp; |
ExternalReference::InitializeMathExpData(); |
@@ -63,8 +64,8 @@ UnaryMathFunction CreateExpFunction() { |
masm.GetCode(&desc); |
ASSERT(!RelocInfo::RequiresRelocation(desc)); |
- CPU::FlushICache(buffer, actual_size); |
- OS::ProtectCode(buffer, actual_size); |
+ CpuFeatures::FlushICache(buffer, actual_size); |
+ base::OS::ProtectCode(buffer, actual_size); |
#if !defined(USE_SIMULATOR) |
return FUNCTION_CAST<UnaryMathFunction>(buffer); |