From: Francois Pichet Date: Tue, 31 Jan 2012 09:35:01 +0000 (+0000) Subject: Fix BrainF compilation. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=a0935775db5886ba8710840de868bbd84554da90;p=oota-llvm.git Fix BrainF compilation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149375 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/examples/BrainF/BrainF.cpp b/examples/BrainF/BrainF.cpp index df6687f2805..b002d1f496d 100644 --- a/examples/BrainF/BrainF.cpp +++ b/examples/BrainF/BrainF.cpp @@ -134,7 +134,8 @@ void BrainF::header(LLVMContext& C) { { //@aberrormsg = internal constant [%d x i8] c"\00" Constant *msg_0 = - ConstantArray::get(C, "Error: The head has left the tape.", true); + ConstantDataArray::getString(C, "Error: The head has left the tape.", + true); GlobalVariable *aberrormsg = new GlobalVariable( *module,