aboutsummaryrefslogtreecommitdiff
path: root/lib/ExecutionEngine/JIT
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2011-08-12 14:54:45 +0000
committerDuncan Sands <baldrick@free.fr>2011-08-12 14:54:45 +0000
commit1f6a329f79b3568d379142f921f59c4143ddaa14 (patch)
tree48a398f7238e67041a4f73e6f65440be845523cb /lib/ExecutionEngine/JIT
parent3c757ef2ef8294ea34378804d7c4d71053588b8c (diff)
Silence a bunch (but not all) "variable written but not read" warnings
when building with assertions disabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137460 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/ExecutionEngine/JIT')
-rw-r--r--lib/ExecutionEngine/JIT/JITEmitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp
index b08969197f..24020ee6d6 100644
--- a/lib/ExecutionEngine/JIT/JITEmitter.cpp
+++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp
@@ -668,6 +668,7 @@ void *JITResolver::JITCompilerFn(void *Stub) {
DEBUG(dbgs() << "JIT: Lazily resolving function '" << F->getName()
<< "' In stub ptr = " << Stub << " actual ptr = "
<< ActualPtr << "\n");
+ (void)ActualPtr;
Result = JR->TheJIT->getPointerToFunction(F);
}