projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b319f12
)
Fix BrainF compilation.
author
Francois Pichet
<pichet2000@gmail.com>
Tue, 31 Jan 2012 09:35:01 +0000
(09:35 +0000)
committer
Francois Pichet
<pichet2000@gmail.com>
Tue, 31 Jan 2012 09:35:01 +0000
(09:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149375
91177308
-0d34-0410-b5e6-
96231b3b80d8
examples/BrainF/BrainF.cpp
patch
|
blob
|
history
diff --git
a/examples/BrainF/BrainF.cpp
b/examples/BrainF/BrainF.cpp
index df6687f2805e450d2b7cdae430cbdf463e133ba6..b002d1f496d2240da2e668e285c705424debc62b 100644
(file)
--- 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,