Index: runtime/vm/os_linux.cc |
diff --git a/runtime/vm/os_linux.cc b/runtime/vm/os_linux.cc |
index 58efa89840a84e7f7f63c5eed0a18aceaf8aa910..12dd6461b5977058b12ec1b30ed71d765d34899c 100644 |
--- a/runtime/vm/os_linux.cc |
+++ b/runtime/vm/os_linux.cc |
@@ -188,23 +188,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 = memalign(alignment, size); |
- if (p == NULL) { |
- UNREACHABLE(); |
- } |
- return p; |
-} |
- |
- |
-void OS::AlignedFree(void* ptr) { |
- free(ptr); |
-} |
- |
- |
// TODO(5411554): May need to hoist these architecture dependent code |
// into a architecture specific file e.g: os_ia32_linux.cc |
intptr_t OS::ActivationFrameAlignment() { |