Index: runtime/vm/os_win.cc |
diff --git a/runtime/vm/os_win.cc b/runtime/vm/os_win.cc |
index 809b0ad361b65b13e7d705fe4aa074901db6f2e5..129dcd12eaef6690b9da8b18bb22efd1d2ef085c 100644 |
--- a/runtime/vm/os_win.cc |
+++ b/runtime/vm/os_win.cc |
@@ -190,23 +190,6 @@ int64_t OS::GetCurrentThreadCPUMicros() { |
} |
-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 OS::AlignedFree(void* ptr) { |
- _aligned_free(ptr); |
-} |
- |
- |
intptr_t OS::ActivationFrameAlignment() { |
#ifdef _WIN64 |
// Windows 64-bit ABI requires the stack to be 16-byte aligned. |