diff options
author | Jay Foad <jay.foad@gmail.com> | 2011-07-21 14:31:17 +0000 |
---|---|---|
committer | Jay Foad <jay.foad@gmail.com> | 2011-07-21 14:31:17 +0000 |
commit | ed8db7d9df395497d54ea9cecf1cecdad674cd7e (patch) | |
tree | 4da14cc7a50cc83e03bd6353a059c10b5a719eee /llvm/examples | |
parent | 95f1ebd41b103eba1cb64305e9cc924527a8744f (diff) | |
download | bcm5719-llvm-ed8db7d9df395497d54ea9cecf1cecdad674cd7e.tar.gz bcm5719-llvm-ed8db7d9df395497d54ea9cecf1cecdad674cd7e.zip |
Convert ConstantExpr::getGetElementPtr and
ConstantExpr::getInBoundsGetElementPtr to use ArrayRef.
llvm-svn: 135673
Diffstat (limited to 'llvm/examples')
-rw-r--r-- | llvm/examples/BrainF/BrainF.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/examples/BrainF/BrainF.cpp b/llvm/examples/BrainF/BrainF.cpp index cd9a1408715..df6687f2805 100644 --- a/llvm/examples/BrainF/BrainF.cpp +++ b/llvm/examples/BrainF/BrainF.cpp @@ -162,8 +162,7 @@ void BrainF::header(LLVMContext& C) { }; Constant *msgptr = ConstantExpr:: - getGetElementPtr(aberrormsg, gep_params, - array_lengthof(gep_params)); + getGetElementPtr(aberrormsg, gep_params); Value *puts_params[] = { msgptr |