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

Unified Diff: runtime/vm/os_win.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_test.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « runtime/vm/os_test.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698