Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(480)

Unified Diff: runtime/vm/os_linux.cc

Issue 2276803002: Remove unused external typed data factories. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/os_fuchsia.cc ('k') | runtime/vm/os_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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() {
« no previous file with comments | « runtime/vm/os_fuchsia.cc ('k') | runtime/vm/os_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698