[JITListener] Fix build after Module::getTargetTriple() change (#130152)
Adjust for #129868.
This commit is contained in:
parent
bd5f29c008
commit
d7f409d39a
@ -168,7 +168,7 @@ protected:
|
|||||||
|
|
||||||
if (Tuple.isOSWindows() && !Tuple.isOSBinFormatELF()) {
|
if (Tuple.isOSWindows() && !Tuple.isOSBinFormatELF()) {
|
||||||
Tuple.setObjectFormat(Triple::ELF);
|
Tuple.setObjectFormat(Triple::ELF);
|
||||||
TheModule->setTargetTriple(Tuple.getTriple());
|
TheModule->setTargetTriple(Tuple);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Compile the IR
|
// Compile the IR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user