Skip to content

Commit

Permalink
Fix BrainF compilation.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149375 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
fpichet committed Jan 31, 2012
1 parent b319f12 commit a093577
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/BrainF/BrainF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a093577

Please sign in to comment.