OrcJIT: Appease msc18 not to be confused on executeCompileCallback<OrcX86_64>.

llvm-svn: 229494
This commit is contained in:
NAKAMURA Takumi 2015-02-17 12:53:16 +00:00
parent 3e087357ce
commit cd5a3673c3
1 changed files with 3 additions and 2 deletions

View File

@ -52,8 +52,9 @@ const char* OrcX86_64::ResolverBlockName = "orc_resolver_block";
void OrcX86_64::insertResolverBlock(
Module &M, JITCompileCallbackManagerBase<OrcX86_64> &JCBM) {
uint64_t CallbackAddr = static_cast<uint64_t>(
reinterpret_cast<uintptr_t>(executeCompileCallback<OrcX86_64>));
auto CallbackPtr = executeCompileCallback<OrcX86_64>;
uint64_t CallbackAddr =
static_cast<uint64_t>(reinterpret_cast<uintptr_t>(CallbackPtr));
std::ostringstream AsmStream;
Triple TT(M.getTargetTriple());