diff --git a/runtime/bin/utils_win.cc b/runtime/bin/utils_win.cc index 1ae04017116..8a114ceecf7 100644 --- a/runtime/bin/utils_win.cc +++ b/runtime/bin/utils_win.cc @@ -191,18 +191,6 @@ int64_t TimerUtils::GetCurrentMonotonicMicros() { return result; } - -void* OS::AlignedAllocate(intptr_t size, intptr_t alignment) { - const int kMinimumAlignment = 16; - ASSERT(Utils::IsPowerOfTwo(alignment)); - ASSERT(alignment >= kMinimumAlignment); - void* p = _aligned_malloc(size, alignment); - if (p == NULL) { - UNREACHABLE(); - } - return p; -} - void TimerUtils::Sleep(int64_t millis) { ::Sleep(millis); }