Remove stray copy of OS::AlignedAllocate.

Review URL: https://codereview.chromium.org/1518113002 .
This commit is contained in:
Ryan Macnak 2015-12-11 13:13:52 -08:00
parent 9387fead15
commit fc551b6f33

View file

@ -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);
}