diff options
author | Owen Anderson <resistor@mac.com> | 2009-07-28 18:32:17 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2009-07-28 18:32:17 +0000 |
commit | 1fd7096407d5e598ed3366a1141548e71273f1c5 (patch) | |
tree | 1d75f632724874d39fcab0f961b588afe4dbadbd /examples/BrainF/BrainF.cpp | |
parent | 8e7c38e17b4c3eef8c079004f01329b7bd2bb24a (diff) |
Change ConstantArray to 2.5 API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77347 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/BrainF/BrainF.cpp')
-rw-r--r-- | examples/BrainF/BrainF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/BrainF/BrainF.cpp b/examples/BrainF/BrainF.cpp index 97a9b0579e..e47365bfa1 100644 --- a/examples/BrainF/BrainF.cpp +++ b/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, |