diff options
Diffstat (limited to 'llvm/examples')
| -rw-r--r-- | llvm/examples/BrainF/BrainF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/BrainF/BrainF.cpp b/llvm/examples/BrainF/BrainF.cpp index 97a9b0579e0..e47365bfa16 100644 --- a/llvm/examples/BrainF/BrainF.cpp +++ b/llvm/examples/BrainF/BrainF.cpp @@ -125,7 +125,7 @@ void BrainF::header(LLVMContext& C) { { //@aberrormsg = internal constant [%d x i8] c"\00" Constant *msg_0 = - C.getConstantArray("Error: The head has left the tape.", true); + ConstantArray::get("Error: The head has left the tape.", true); GlobalVariable *aberrormsg = new GlobalVariable( *module, |

