diff options
author | Chris Lattner <sabre@nondot.org> | 2006-05-24 17:04:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-05-24 17:04:05 +0000 |
commit | d74ea2bbd8bb630331f35ead42d385249bd42af8 (patch) | |
tree | 409cce9886da3cfca4dc504ddaef26781f6e69f6 /lib/Target/X86/X86JITInfo.cpp | |
parent | c22158d371feb847f988e1ab2b287a27ea4c3c73 (diff) |
Patches to make the LLVM sources more -pedantic clean. Patch provided
by Anton Korobeynikov! This is a step towards closing PR786.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86JITInfo.cpp')
-rw-r--r-- | lib/Target/X86/X86JITInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/X86JITInfo.cpp b/lib/Target/X86/X86JITInfo.cpp index 3d1222128a..6f83651c18 100644 --- a/lib/Target/X86/X86JITInfo.cpp +++ b/lib/Target/X86/X86JITInfo.cpp @@ -167,7 +167,7 @@ X86JITInfo::getLazyResolverFunction(JITCompilerFn F) { } void *X86JITInfo::emitFunctionStub(void *Fn, MachineCodeEmitter &MCE) { - if (Fn != X86CompilationCallback) { + if (Fn != (void*)X86CompilationCallback) { MCE.startFunctionStub(5); MCE.emitByte(0xE9); MCE.emitWordLE((intptr_t)Fn-MCE.getCurrentPCValue()-4); |