[llvm-commits] [llvm] r49822 - /llvm/trunk/lib/Target/X86/X86JITInfo.cpp
Dale Johannesen
dalej at apple.com
Wed Apr 16 15:24:34 PDT 2008
Author: johannes
Date: Wed Apr 16 17:24:33 2008
New Revision: 49822
URL: http://llvm.org/viewvc/llvm-project?rev=49822&view=rev
Log:
Unbreak build on x86-64.
Modified:
llvm/trunk/lib/Target/X86/X86JITInfo.cpp
Modified: llvm/trunk/lib/Target/X86/X86JITInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86JITInfo.cpp?rev=49822&r1=49821&r2=49822&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86JITInfo.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86JITInfo.cpp Wed Apr 16 17:24:33 2008
@@ -395,7 +395,7 @@
void *X86JITInfo::emitGlobalValueLazyPtr(const GlobalValue* GV, void *ptr,
MachineCodeEmitter &MCE) {
#if defined (X86_64_JIT)
- MCE.startFunctionStub(8, 8);
+ MCE.startFunctionStub(GV, 8, 8);
MCE.emitWordLE(((unsigned *)&ptr)[0]);
MCE.emitWordLE(((unsigned *)&ptr)[1]);
#else
More information about the llvm-commits
mailing list