mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-21 21:41:43 +00:00
Fix BrainF compilation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149375 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b319f12727
commit
a0935775db
@ -134,7 +134,8 @@ void BrainF::header(LLVMContext& C) {
|
|||||||
{
|
{
|
||||||
//@aberrormsg = internal constant [%d x i8] c"\00"
|
//@aberrormsg = internal constant [%d x i8] c"\00"
|
||||||
Constant *msg_0 =
|
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(
|
GlobalVariable *aberrormsg = new GlobalVariable(
|
||||||
*module,
|
*module,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user