mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-04-04 16:54:12 +00:00
llvm/examples/BrainF: Give an explicit pointee type to ConstantExpr::getGetElementPtr(ty...), according to r233938.
llvm-svn: 233983
This commit is contained in:
parent
012454b680
commit
6c1c2d6143
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user