Index: runtime/vm/os_fuchsia.cc |
diff --git a/runtime/vm/os_fuchsia.cc b/runtime/vm/os_fuchsia.cc |
index af41362f162f0be21169c84de2278076863c6fdf..48181f7a1b00c33f51ff2ccee593d36d75e03ae7 100644 |
--- a/runtime/vm/os_fuchsia.cc |
+++ b/runtime/vm/os_fuchsia.cc |
@@ -84,23 +84,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_fuchsia.cc |
intptr_t OS::ActivationFrameAlignment() { |