Index: runtime/vm/os_android.cc |
diff --git a/runtime/vm/os_android.cc b/runtime/vm/os_android.cc |
index c7cc8c5f7d1db777ba86cfb9cfcb98eaf1409d46..92fcfd9c97a021126052ab468ae76ed8cc333a5a 100644 |
--- a/runtime/vm/os_android.cc |
+++ b/runtime/vm/os_android.cc |
@@ -181,23 +181,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() { |