[PATCH] D41431: [EngineBuilder] Remove unused local variable.
Tyurin, Evgeniy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 20 02:03:56 PST 2017
etyurin created this revision.
etyurin added reviewers: lhames, resistor.
https://reviews.llvm.org/D41431
Files:
lib/ExecutionEngine/ExecutionEngine.cpp
Index: lib/ExecutionEngine/ExecutionEngine.cpp
===================================================================
--- lib/ExecutionEngine/ExecutionEngine.cpp
+++ lib/ExecutionEngine/ExecutionEngine.cpp
@@ -532,7 +532,6 @@
// Unless the interpreter was explicitly selected or the JIT is not linked,
// try making a JIT.
if ((WhichEngine & EngineKind::JIT) && TheTM) {
- Triple TT(M->getTargetTriple());
if (!TM->getTarget().hasJIT()) {
errs() << "WARNING: This target JIT is not designed for the host"
<< " you are running. If bad things happen, please choose"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41431.127669.patch
Type: text/x-patch
Size: 600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171220/cd959795/attachment.bin>
More information about the llvm-commits
mailing list