mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-08 19:25:47 +00:00
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
This commit is contained in:
@@ -163,7 +163,7 @@ void BrainF::header(LLVMContext& C) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
Constant *msgptr = ConstantExpr::
|
Constant *msgptr = ConstantExpr::
|
||||||
getGetElementPtr(aberrormsg, gep_params);
|
getGetElementPtr(aberrormsg->getValueType(), aberrormsg, gep_params);
|
||||||
|
|
||||||
Value *puts_params[] = {
|
Value *puts_params[] = {
|
||||||
msgptr
|
msgptr
|
||||||
|
Reference in New Issue
Block a user