[llvm-commits] [llvm] r134975 - /llvm/trunk/examples/BrainF/BrainF.cpp
Francois Pichet
pichet2000 at gmail.com
Tue Jul 12 01:43:36 PDT 2011
Author: fpichet
Date: Tue Jul 12 03:43:36 2011
New Revision: 134975
URL: http://llvm.org/viewvc/llvm-project?rev=134975&view=rev
Log:
Fix the BrainF build.
Modified:
llvm/trunk/examples/BrainF/BrainF.cpp
Modified: llvm/trunk/examples/BrainF/BrainF.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/examples/BrainF/BrainF.cpp?rev=134975&r1=134974&r2=134975&view=diff
==============================================================================
--- llvm/trunk/examples/BrainF/BrainF.cpp (original)
+++ llvm/trunk/examples/BrainF/BrainF.cpp Tue Jul 12 03:43:36 2011
@@ -55,7 +55,7 @@
//Function prototypes
//declare void @llvm.memset.p0i8.i32(i8 *, i8, i32, i32, i1)
- Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) };
+ const Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) };
Function *memset_func = Intrinsic::getDeclaration(module, Intrinsic::memset,
Tys, 2);
More information about the llvm-commits
mailing list