mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 16:36:40 +00:00
[llvm-exegesis] Suppress a warning.
llvm-svn: 329257
This commit is contained in:
parent
32b286748f
commit
af30cac9f9
@ -23,6 +23,7 @@
|
||||
#include "llvm/ExecutionEngine/ExecutionEngine.h"
|
||||
#include "llvm/IR/LLVMContext.h"
|
||||
#include "llvm/MC/MCInst.h"
|
||||
#include <cstdint>
|
||||
#include <memory>
|
||||
#include <vector>
|
||||
|
||||
@ -67,7 +68,7 @@ public:
|
||||
// Retrieves the callable function.
|
||||
void operator()() const {
|
||||
char* const FnData = const_cast<char*>(FunctionBytes.data());
|
||||
((void (*)())FnData)();
|
||||
((void (*)())(intptr_t)FnData)();
|
||||
}
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user