mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-01 08:12:12 +00:00
Revert this because the interface hasn't been updated yet.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f0e856077c
commit
418a04ec9b
@ -787,8 +787,8 @@ void CppWriter::printConstant(const Constant *CV) {
|
||||
Out << "Constant* " << constName
|
||||
<< " = ConstantExpr::getGetElementPtr("
|
||||
<< getCppName(CE->getOperand(0)) << ", "
|
||||
<< constName << "_indices.begin(), "
|
||||
<< constName << "_indices.end()"
|
||||
<< "&" << constName << "_indices[0], "
|
||||
<< constName << "_indices.size()"
|
||||
<< " );";
|
||||
} else if (CE->isCast()) {
|
||||
printConstant(CE->getOperand(0));
|
||||
|
Loading…
x
Reference in New Issue
Block a user