mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
Rename DSGraph::ScalarMapTy -> DSScalarMap
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11001 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -72,7 +72,7 @@ namespace {
|
||||
class GraphBuilder : InstVisitor<GraphBuilder> {
|
||||
DSGraph &G;
|
||||
DSNodeHandle *RetNode; // Node that gets returned...
|
||||
DSGraph::ScalarMapTy &ScalarMap;
|
||||
DSScalarMap &ScalarMap;
|
||||
std::vector<DSCallSite> *FunctionCalls;
|
||||
|
||||
public:
|
||||
@@ -171,7 +171,7 @@ DSGraph::DSGraph(const TargetData &td, Function &F, DSGraph *GG)
|
||||
#endif
|
||||
|
||||
// Remove all integral constants from the scalarmap!
|
||||
for (ScalarMapTy::iterator I = ScalarMap.begin(); I != ScalarMap.end();)
|
||||
for (DSScalarMap::iterator I = ScalarMap.begin(); I != ScalarMap.end();)
|
||||
if (isa<ConstantIntegral>(I->first))
|
||||
ScalarMap.erase(I++);
|
||||
else
|
||||
@@ -210,7 +210,7 @@ DSNodeHandle GraphBuilder::getValueDest(Value &Val) {
|
||||
NH = getValueDest(*CE->getOperand(0));
|
||||
else if (CE->getOpcode() == Instruction::GetElementPtr) {
|
||||
visitGetElementPtrInst(*CE);
|
||||
DSGraph::ScalarMapTy::iterator I = ScalarMap.find(CE);
|
||||
DSScalarMap::iterator I = ScalarMap.find(CE);
|
||||
assert(I != ScalarMap.end() && "GEP didn't get processed right?");
|
||||
NH = I->second;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user