Change ConstantArray to 2.5 API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77347 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/examples/BrainF/BrainF.cpp b/examples/BrainF/BrainF.cpp
index 97a9b05..e47365b 100644
--- a/examples/BrainF/BrainF.cpp
+++ b/examples/BrainF/BrainF.cpp
@@ -125,7 +125,7 @@
{
//@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,