diff options
author | Owen Anderson <resistor@mac.com> | 2008-03-24 21:29:58 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-03-24 21:29:58 +0000 |
commit | 82bc06f642b407461c0d0925570ea144d760c955 (patch) | |
tree | 2197f789fd8790e41a51912398417feeb019f21a /include/llvm | |
parent | d5404c00de3024fd09456a07b9f95cd041f5974e (diff) | |
download | external_llvm-82bc06f642b407461c0d0925570ea144d760c955.zip external_llvm-82bc06f642b407461c0d0925570ea144d760c955.tar.gz external_llvm-82bc06f642b407461c0d0925570ea144d760c955.tar.bz2 |
Revert r48676. I had plans for using it, but now it's just dead code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48743 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/System/Memory.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/include/llvm/System/Memory.h b/include/llvm/System/Memory.h index d692b95..b4ebf0e 100644 --- a/include/llvm/System/Memory.h +++ b/include/llvm/System/Memory.h @@ -57,18 +57,6 @@ namespace sys { const MemoryBlock *NearBlock, std::string *ErrMsg = 0); - /// This method allocates a block of Read/Write memory. This memory - /// needs to have executable permissions set before it can be used - /// to execute JIT'ed code. - /// - /// On success, this returns a non-null memory block, otherwise it returns - /// a null memory block and fills in *ErrMsg. - /// - /// @brief Allocate Read/Write/Execute memory. - static MemoryBlock AllocateRW(unsigned NumBytes, - const MemoryBlock *NearBlock, - std::string *ErrMsg = 0); - /// This method releases a block of Read/Write/Execute memory that was /// allocated with the AllocateRWX method. It should not be used to /// release any memory block allocated any other way. @@ -78,7 +66,6 @@ namespace sys { /// @throws std::string if an error occurred. /// @brief Release Read/Write/Execute memory. static bool ReleaseRWX(MemoryBlock &block, std::string *ErrMsg = 0); - /// @} }; } |