diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-26 16:56:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-26 16:56:19 +0000 |
commit | 69a86e4e23de6811c7f63c22266da8ad8d365575 (patch) | |
tree | 81ee2759e2dcdea7e2b212a015146b0bce941bce /lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | |
parent | b2b12b4a627761a409dd312076a0310777a96eb8 (diff) |
The old getIndices has been deprecated, because it no longer works. It now
is named getIndicesBROKEN() and shall be removed when the codebase is updated
to not call it
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp')
-rw-r--r-- | lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index 853fe0f310..d43e688dd7 100644 --- a/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp @@ -118,7 +118,7 @@ FoldGetElemChain(const InstructionNode* getElemInstrNode, // Initialize return values from the incoming instruction Value* ptrVal = getElemInst->getPointerOperand(); - chainIdxVec = getElemInst->getIndices(); // copies index vector values + chainIdxVec = getElemInst->getIndicesBROKEN(); // copies index vector values // Now chase the chain of getElementInstr instructions, if any InstrTreeNode* ptrChild = getElemInstrNode->leftChild(); @@ -128,7 +128,7 @@ FoldGetElemChain(const InstructionNode* getElemInstrNode, // Child is a GetElemPtr instruction getElemInst = (MemAccessInst*) ((InstructionNode*) ptrChild)->getInstruction(); - const vector<ConstPoolVal*>& idxVec = getElemInst->getIndices(); + const vector<ConstPoolVal*>& idxVec = getElemInst->getIndicesBROKEN(); // Get the pointer value out of ptrChild and *prepend* its index vector ptrVal = getElemInst->getPointerOperand(); |