llvm.org GIT mirror llvm / 7d4d5d3
llvm/examples/BrainF: Give an explicit pointee type to ConstantExpr::getGetElementPtr(ty...), according to r233938. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233983 91177308-0d34-0410-b5e6-96231b3b80d8 NAKAMURA Takumi 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
162162 };
163163
164164 Constant *msgptr = ConstantExpr::
165 getGetElementPtr(aberrormsg, gep_params);
165 getGetElementPtr(aberrormsg->getValueType(), aberrormsg, gep_params);
166166
167167 Value *puts_params[] = {
168168 msgptr