diff options
author | Torok Edwin <edwintorok@gmail.com> | 2011-09-30 13:07:47 +0000 |
---|---|---|
committer | Torok Edwin <edwintorok@gmail.com> | 2011-09-30 13:07:47 +0000 |
commit | d398bae0e008f089037e7c3c316e2b6b194daefc (patch) | |
tree | 52a25522545ecdaf954b035fb5351ae2221e9789 /lib/CodeGen/LLVMTargetMachine.cpp | |
parent | c90e149ee43b5ffa751a7a03fab8b1a54cc3de92 (diff) |
Comment grammar fixes.
thanks to Duncan.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140850 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r-- | lib/CodeGen/LLVMTargetMachine.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/CodeGen/LLVMTargetMachine.cpp b/lib/CodeGen/LLVMTargetMachine.cpp index 3bd1d6071e..80ecc22481 100644 --- a/lib/CodeGen/LLVMTargetMachine.cpp +++ b/lib/CodeGen/LLVMTargetMachine.cpp @@ -114,11 +114,12 @@ LLVMTargetMachine::LLVMTargetMachine(const Target &T, StringRef Triple, : TargetMachine(T, Triple, CPU, FS) { CodeGenInfo = T.createMCCodeGenInfo(Triple, RM, CM); AsmInfo = T.createMCAsmInfo(Triple); - // TargetSelect.h moved to different directory between LLVM 2.9 and 3.0, - // and if the old one gets included then MCAsmInfo will be NULL and we'd crash - // later. - // Provide the user a useful error message about whats wrong. - assert(AsmInfo && "MCAsmInfo not initialized. Make sure you include the correct TargetSelect.h!"); + // TargetSelect.h moved to a different directory between LLVM 2.9 and 3.0, + // and if the old one gets included then MCAsmInfo will be NULL and + // we'll crash later. + // Provide the user with a useful error message about what's wrong. + assert(AsmInfo && "MCAsmInfo not initialized." + "Make sure you include the correct TargetSelect.h!"); } bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM, |