aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2004-10-19 05:55:54 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2004-10-19 05:55:54 +0000
commit3567a413075d47ebc2b02063fbeae70d3ecf84d2 (patch)
tree3e0268ecb1f88402f4342cfc25779928b784d31d
parent7e302d2f5f6c9b53d0c5017ac3325420b1c8e3d9 (diff)
downloadexternal_llvm-3567a413075d47ebc2b02063fbeae70d3ecf84d2.zip
external_llvm-3567a413075d47ebc2b02063fbeae70d3ecf84d2.tar.gz
external_llvm-3567a413075d47ebc2b02063fbeae70d3ecf84d2.tar.bz2
Fix some grammar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17141 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/System/Darwin/Memory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/System/Darwin/Memory.cpp b/lib/System/Darwin/Memory.cpp
index 974d1db..5735eba 100644
--- a/lib/System/Darwin/Memory.cpp
+++ b/lib/System/Darwin/Memory.cpp
@@ -21,14 +21,14 @@ namespace llvm {
using namespace sys;
//===----------------------------------------------------------------------===//
-//=== WARNING: Implementation here must contain only Darwin specific code
+//=== WARNING: Implementation here must contain only Darwin-specific code
//=== and must not be generic UNIX code (see ../Unix/Memory.cpp)
//===----------------------------------------------------------------------===//
/// AllocateRWXMemory - Allocate a slab of memory with read/write/execute
/// permissions. This is typically used for JIT applications where we want
-/// to emit code to the memory then jump to it. Getting this type of memory
-/// is very OS specific.
+/// to emit code to the memory and then jump to it. Getting this type of memory
+/// is very OS-specific.
///
MemoryBlock Memory::AllocateRWX(unsigned NumBytes) {
if (NumBytes == 0) return MemoryBlock();