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 | 63b52693c85ef76241b56b1d4a2d8b7b623ce90b (patch) | |
| tree | 4c4b27918c5ff0e826c17c2019562184636a13d4 /llvm/lib/CodeGen | |
| parent | 20faede9520df50c00f741464276d17877d3fae0 (diff) | |
| download | bcm5719-llvm-63b52693c85ef76241b56b1d4a2d8b7b623ce90b.tar.gz bcm5719-llvm-63b52693c85ef76241b56b1d4a2d8b7b623ce90b.zip | |
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
llvm-svn: 1338
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp b/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp index 853fe0f3108..d43e688dd76 100644 --- a/llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp +++ b/llvm/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(); |

