diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-04-02 22:44:00 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2015-04-02 22:44:00 +0000 |
commit | 696f275954488b7291faf8058a62c62992c33885 (patch) | |
tree | 3c334f597ab8fdbc5967d0564c8911315ee5d94a /llvm/examples/BrainF/BrainF.cpp | |
parent | d05ba3aae32c38f19b0d161a63cf452bb31e43d5 (diff) | |
download | bcm5719-llvm-696f275954488b7291faf8058a62c62992c33885.tar.gz bcm5719-llvm-696f275954488b7291faf8058a62c62992c33885.zip |
llvm/examples/BrainF: Give an explicit pointee type to ConstantExpr::getGetElementPtr(ty...), according to r233938.
llvm-svn: 233983
Diffstat (limited to 'llvm/examples/BrainF/BrainF.cpp')
-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 f8129b819e3..81c48b9ef8a 100644 --- a/llvm/examples/BrainF/BrainF.cpp +++ b/llvm/examples/BrainF/BrainF.cpp @@ -163,7 +163,7 @@ void BrainF::header(LLVMContext& C) { }; Constant *msgptr = ConstantExpr:: - getGetElementPtr(aberrormsg, gep_params); + getGetElementPtr(aberrormsg->getValueType(), aberrormsg, gep_params); Value *puts_params[] = { msgptr |