1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Fix BrainF compilation.

llvm-svn: 149375
This commit is contained in:
Francois Pichet 2012-01-31 09:35:01 +00:00
parent 0ebee7acc5
commit 81cb90c91f

View File

@ -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,