summaryrefslogtreecommitdiff
path: root/include/llvm/ExecutionEngine
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-11-04 18:11:56 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-11-04 18:11:56 +0000
commitb39e25ef2c8d8c840ec4155e57c737ac7bd4f167 (patch)
treeac7fc25cc954c15de9fdfa23fc74724a8ea0b541 /include/llvm/ExecutionEngine
parentfb067ed485cb42ce6edbe2d12ec2e8c05782c0fb (diff)
downloadllvm-b39e25ef2c8d8c840ec4155e57c737ac7bd4f167.tar.gz
llvm-b39e25ef2c8d8c840ec4155e57c737ac7bd4f167.tar.bz2
llvm-b39e25ef2c8d8c840ec4155e57c737ac7bd4f167.tar.xz
Delete names for unused parameters in inline function definitions in headers, so LLVM users can compile with -Wunused-parameter. PR11257; based on patch by Kevin Harris.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ExecutionEngine')
-rw-r--r--include/llvm/ExecutionEngine/JITEventListener.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/llvm/ExecutionEngine/JITEventListener.h b/include/llvm/ExecutionEngine/JITEventListener.h
index abc063b070..94212e1c39 100644
--- a/include/llvm/ExecutionEngine/JITEventListener.h
+++ b/include/llvm/ExecutionEngine/JITEventListener.h
@@ -59,9 +59,9 @@ public:
/// NotifyFunctionEmitted - Called after a function has been successfully
/// emitted to memory. The function still has its MachineFunction attached,
/// if you should happen to need that.
- virtual void NotifyFunctionEmitted(const Function &F,
- void *Code, size_t Size,
- const EmittedFunctionDetails &Details) {}
+ virtual void NotifyFunctionEmitted(const Function &,
+ void *, size_t,
+ const EmittedFunctionDetails &) {}
/// NotifyFreeingMachineCode - Called from freeMachineCodeForFunction(), after
/// the global mapping is removed, but before the machine code is returned to
@@ -71,7 +71,7 @@ public:
/// parameter to a previous NotifyFunctionEmitted call. The Function passed
/// to NotifyFunctionEmitted may have been destroyed by the time of the
/// matching NotifyFreeingMachineCode call.
- virtual void NotifyFreeingMachineCode(void *OldPtr) {}
+ virtual void NotifyFreeingMachineCode(void *) {}
};
// This returns NULL if support isn't available.