mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Update generated code to use new API of GetElementPtrInst::Create.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136138 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
84c93d4bb0
commit
45c8d2bc9c
@ -1240,8 +1240,7 @@ void CppWriter::printInstruction(const Instruction *I,
|
|||||||
nl(Out);
|
nl(Out);
|
||||||
}
|
}
|
||||||
Out << "Instruction* " << iName << " = GetElementPtrInst::Create("
|
Out << "Instruction* " << iName << " = GetElementPtrInst::Create("
|
||||||
<< opNames[0] << ", " << iName << "_indices.begin(), "
|
<< opNames[0] << ", " << iName << "_indices";
|
||||||
<< iName << "_indices.end()";
|
|
||||||
}
|
}
|
||||||
Out << ", \"";
|
Out << ", \"";
|
||||||
printEscapedString(gep->getName());
|
printEscapedString(gep->getName());
|
||||||
|
Loading…
Reference in New Issue
Block a user