mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 09:06:21 +01:00
Typo in comments
llvm-svn: 196577
This commit is contained in:
@@ -534,7 +534,7 @@ public:
|
||||
/// as many bytes as possible.
|
||||
///
|
||||
/// @return
|
||||
/// A shared pointer to the memeory mapped data. This shared
|
||||
/// A shared pointer to the memory mapped data. This shared
|
||||
/// pointer can contain a NULL DataBuffer pointer, so the contained
|
||||
/// pointer must be checked prior to using it.
|
||||
//------------------------------------------------------------------
|
||||
|
||||
@@ -458,7 +458,7 @@ lldb::tid_t
|
||||
Host::GetCurrentThreadID()
|
||||
{
|
||||
#if defined (__APPLE__)
|
||||
// Calling "mach_port_deallocate()" bumps the reference count on the thread
|
||||
// Calling "mach_thread_self()" bumps the reference count on the thread
|
||||
// port, so we need to deallocate it. mach_task_self() doesn't bump the ref
|
||||
// count.
|
||||
thread_port_t thread_self = mach_thread_self();
|
||||
|
||||
Reference in New Issue
Block a user