Fix some grammar
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17141 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@
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();