diff options
author | Chris Lattner <sabre@nondot.org> | 2001-11-04 08:08:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-11-04 08:08:34 +0000 |
commit | 33d9cb990365f9ab0b131a65a13ed0838bd0a316 (patch) | |
tree | c5a0f416d5f6ff546bf6930546d2c50e55195a2e /llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp | |
parent | f00563d39d789f4cddb1c33a1b41c3f2959c6948 (diff) | |
download | bcm5719-llvm-33d9cb990365f9ab0b131a65a13ed0838bd0a316.tar.gz bcm5719-llvm-33d9cb990365f9ab0b131a65a13ed0838bd0a316.zip |
Minor method rename
llvm-svn: 1119
Diffstat (limited to 'llvm/lib/CodeGen/InstrSelection/InstrSelectionSupport.cpp')
-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 400d5948d4f..88fd4a41386 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->getPtrOperand(); - chainIdxVec = getElemInst->getIndexVec(); // copies index vector values + chainIdxVec = getElemInst->getIndices(); // 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->getIndexVec(); + const vector<ConstPoolVal*>& idxVec = getElemInst->getIndices(); // Get the pointer value out of ptrChild and *prepend* its index vector ptrVal = getElemInst->getPtrOperand(); |