From a9ebd2b91ffdaa52775c4b9a807e7382976aa38b Mon Sep 17 00:00:00 2001 From: Andrew Lenharth Date: Fri, 19 Jan 2007 20:17:59 +0000 Subject: [PATCH] fix build on amd64 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33367 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/ExecutionEngine/JIT/JITEmitter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ExecutionEngine/JIT/JITEmitter.cpp b/lib/ExecutionEngine/JIT/JITEmitter.cpp index a5b90c96637..d9fd82dee70 100644 --- a/lib/ExecutionEngine/JIT/JITEmitter.cpp +++ b/lib/ExecutionEngine/JIT/JITEmitter.cpp @@ -872,7 +872,7 @@ bool JITEmitter::finishFunction(MachineFunction &F) { Disassembler::X86_32, (uint32_t)FnStart); #elif defined(__amd64__) || defined(__x86_64__) << disassembleBuffer(FnStart, FnEnd-FnStart, - Disassembler::X86_64, (uint32_t)FnStart); + Disassembler::X86_64, (uint64_t)FnStart); #else << "N/A\n"; #endif