mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-17 22:00:41 +00:00
Comment grammar fixes.
thanks to Duncan. llvm-svn: 140850
This commit is contained in:
parent
3111d11f23
commit
be5020eb95
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user