[llvm-commits] CVS: llvm/lib/System/Cygwin/Memory.cpp
Reid Spencer
reid at x10sys.com
Tue Sep 14 20:55:55 PDT 2004
Changes in directory llvm/lib/System/Cygwin:
Memory.cpp updated: 1.3 -> 1.4
---
Log message:
Fix the interface to ReleaseRWX to take MemoryBlock& not Memory&
---
Diffs of the changes: (+1 -1)
Index: llvm/lib/System/Cygwin/Memory.cpp
diff -u llvm/lib/System/Cygwin/Memory.cpp:1.3 llvm/lib/System/Cygwin/Memory.cpp:1.4
--- llvm/lib/System/Cygwin/Memory.cpp:1.3 Mon Sep 13 17:38:12 2004
+++ llvm/lib/System/Cygwin/Memory.cpp Tue Sep 14 22:55:45 2004
@@ -43,7 +43,7 @@
return result;
}
-void Memory::ReleaseRWX(Memory& M) {
+void Memory::ReleaseRWX(MemoryBlock& M) {
if (M.Address == 0 || M.Size == 0) return;
if (0 != munmap(M.Address, M.Size)) {
throw std::string("Can't release RWX Memory: ") + strerror(errno);
More information about the llvm-commits
mailing list