mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-23 16:30:00 +00:00
Comment grammar fixes.
thanks to Duncan. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140850 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c90e149ee4
commit
d398bae0e0
@ -114,11 +114,12 @@ LLVMTargetMachine::LLVMTargetMachine(const Target &T, StringRef Triple,
|
|||||||
: TargetMachine(T, Triple, CPU, FS) {
|
: TargetMachine(T, Triple, CPU, FS) {
|
||||||
CodeGenInfo = T.createMCCodeGenInfo(Triple, RM, CM);
|
CodeGenInfo = T.createMCCodeGenInfo(Triple, RM, CM);
|
||||||
AsmInfo = T.createMCAsmInfo(Triple);
|
AsmInfo = T.createMCAsmInfo(Triple);
|
||||||
// TargetSelect.h moved to different directory between LLVM 2.9 and 3.0,
|
// 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'd crash
|
// and if the old one gets included then MCAsmInfo will be NULL and
|
||||||
// later.
|
// we'll crash later.
|
||||||
// Provide the user a useful error message about whats wrong.
|
// 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!");
|
assert(AsmInfo && "MCAsmInfo not initialized."
|
||||||
|
"Make sure you include the correct TargetSelect.h!");
|
||||||
}
|
}
|
||||||
|
|
||||||
bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
|
bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
|
||||||
|
Loading…
Reference in New Issue
Block a user