From ae43cab6bab0e5bcdbe2971bf718712559625e39 Mon Sep 17 00:00:00 2001 From: Alp Toker Date: Fri, 24 Jan 2014 17:20:08 +0000 Subject: Fix known typos Sweep the codebase for common typos. Includes some changes to visible function names that were misspelt. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200018 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/IntelJITEvents/jitprofiling.h | 14 +++++++------- lib/ExecutionEngine/Interpreter/Execution.cpp | 2 +- lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp | 2 +- lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) (limited to 'lib/ExecutionEngine') diff --git a/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h b/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h index f08e2870dc..8d16ee85d1 100644 --- a/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h +++ b/lib/ExecutionEngine/IntelJITEvents/jitprofiling.h @@ -164,10 +164,10 @@ typedef struct _iJIT_Method_NIDS typedef struct _LineNumberInfo { - /* x86 Offset from the begining of the method*/ - unsigned int Offset; - - /* source line number from the begining of the source file */ + /* x86 Offset from the beginning of the method*/ + unsigned int Offset; + + /* source line number from the beginning of the source file */ unsigned int LineNumber; } *pLineNumberInfo, LineNumberInfo; @@ -191,9 +191,9 @@ typedef struct _iJIT_Method_Load unsigned int method_size; /* Line Table size in number of entries - Zero if none */ - unsigned int line_number_size; - - /* Pointer to the begining of the line numbers info array */ + unsigned int line_number_size; + + /* Pointer to the beginning of the line numbers info array */ pLineNumberInfo line_number_table; /* unique class ID */ diff --git a/lib/ExecutionEngine/Interpreter/Execution.cpp b/lib/ExecutionEngine/Interpreter/Execution.cpp index 5de065903d..8a101dfa27 100644 --- a/lib/ExecutionEngine/Interpreter/Execution.cpp +++ b/lib/ExecutionEngine/Interpreter/Execution.cpp @@ -1120,7 +1120,7 @@ void Interpreter::visitCallSite(CallSite CS) { callFunction((Function*)GVTOP(SRC), ArgVals); } -// auxilary function for shift operations +// auxiliary function for shift operations static unsigned getShiftAmount(uint64_t orgShiftAmount, llvm::APInt valueToShift) { unsigned valueWidth = valueToShift.getBitWidth(); diff --git a/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp b/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp index cf90e77e38..f1dd5a6a51 100644 --- a/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp +++ b/lib/ExecutionEngine/MCJIT/SectionMemoryManager.cpp @@ -78,7 +78,7 @@ uint8_t *SectionMemoryManager::allocateSection(MemoryGroup &MemGroup, sys::Memory::MF_WRITE, ec); if (ec) { - // FIXME: Add error propogation to the interface. + // FIXME: Add error propagation to the interface. return NULL; } diff --git a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h index 181964faa9..2ed2957d96 100644 --- a/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h +++ b/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h @@ -116,7 +116,7 @@ class RuntimeDyldELF : public RuntimeDyldImpl { virtual void updateGOTEntries(StringRef Name, uint64_t Addr); - // Relocation entries for symbols whose position-independant offset is + // Relocation entries for symbols whose position-independent offset is // updated in a global offset table. typedef SmallVector GOTRelocations; GOTRelocations GOTEntries; // List of entries requiring finalization. -- cgit v1.2.3