[llvm-commits] [llvm] r135000 - /llvm/trunk/examples/BrainF/BrainF.cpp
Francois Pichet
pichet2000 at gmail.com
Tue Jul 12 15:04:11 PDT 2011
Author: fpichet
Date: Tue Jul 12 17:04:11 2011
New Revision: 135000
URL: http://llvm.org/viewvc/llvm-project?rev=135000&view=rev
Log:
Remove the const from Type after of Jay deconstify work.
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=135000&r1=134999&r2=135000&view=diff
==============================================================================
--- llvm/trunk/examples/BrainF/BrainF.cpp (original)
+++ llvm/trunk/examples/BrainF/BrainF.cpp Tue Jul 12 17:04:11 2011
@@ -55,7 +55,7 @@
//Function prototypes
//declare void @llvm.memset.p0i8.i32(i8 *, i8, i32, i32, i1)
- const Type *Tys[] = { Type::getInt8PtrTy(C), Type::getInt32Ty(C) };
+ 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