[llvm-commits] [llvm-gcc-4.2] r85837 - /llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Bob Wilson
bob.wilson at apple.com
Mon Nov 2 15:14:22 PST 2009
Author: bwilson
Date: Mon Nov 2 17:14:19 2009
New Revision: 85837
URL: http://llvm.org/viewvc/llvm-project?rev=85837&view=rev
Log:
Fix broken build.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp?rev=85837&r1=85836&r2=85837&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-convert.cpp Mon Nov 2 17:14:19 2009
@@ -1763,7 +1763,7 @@
BasicBlock *DestBB = getIndirectGotoBlock();
// Store the destination block to the GotoValue alloca.
- Value *V = Emit(dest);
+ Value *V = Emit(dest, 0);
V = CastToType(Instruction::PtrToInt, V, TD.getIntPtrType(Context));
Builder.CreateStore(V, IndirectGotoValue);
More information about the llvm-commits
mailing list