summaryrefslogtreecommitdiffstats
path: root/llvm/examples/BrainF
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-31 20:28:14 +0000
committerOwen Anderson <resistor@mac.com>2009-07-31 20:28:14 +0000
commit5a1acd99126d8b867aef4a785aae635fb98b6c08 (patch)
tree4a7049e4b83ac61c1b374bbb168e359ff4d5268a /llvm/examples/BrainF
parentef3ef7f645cd4f070e426ed781f0104bcffb45d7 (diff)
downloadbcm5719-llvm-5a1acd99126d8b867aef4a785aae635fb98b6c08.tar.gz
bcm5719-llvm-5a1acd99126d8b867aef4a785aae635fb98b6c08.zip
Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are
metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
Diffstat (limited to 'llvm/examples/BrainF')
-rw-r--r--llvm/examples/BrainF/BrainF.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/examples/BrainF/BrainF.cpp b/llvm/examples/BrainF/BrainF.cpp
index e1615569d2b..8651b6e918a 100644
--- a/llvm/examples/BrainF/BrainF.cpp
+++ b/llvm/examples/BrainF/BrainF.cpp
@@ -145,7 +145,7 @@ void BrainF::header(LLVMContext& C) {
//call i32 @puts(i8 *getelementptr([%d x i8] *@aberrormsg, i32 0, i32 0))
{
- Constant *zero_32 = C.getNullValue(IntegerType::Int32Ty);
+ Constant *zero_32 = Constant::getNullValue(IntegerType::Int32Ty);
Constant *gep_params[] = {
zero_32,
OpenPOWER on IntegriCloud