We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e150bb commit e874615Copy full SHA for e874615
llvm/tools/llc/llc.cpp
@@ -733,8 +733,8 @@ static int compileModule(char **argv, LLVMContext &Context) {
733
reportError("target does not support generation of this file type");
734
}
735
736
- const_cast<TargetLoweringObjectFile *>(Target->getObjFileLowering())
737
- ->Initialize(MMIWP->getMMI().getContext(), *Target);
+ Target->getObjFileLowering()->Initialize(MMIWP->getMMI().getContext(),
+ *Target);
738
if (MIR) {
739
assert(MMIWP && "Forgot to create MMIWP?");
740
if (MIR->parseMachineFunctions(*M, MMIWP->getMMI()))
0 commit comments