mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
s/ETNode::getChildren/ETNode::getETNodeChildren/g
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37426 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
dbc705b73f
commit
170f2b9bef
@ -343,7 +343,7 @@ public:
|
|||||||
return idom ? idom->getData<BasicBlock>() : 0;
|
return idom ? idom->getData<BasicBlock>() : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void getChildren(BasicBlock *A, std::vector<BasicBlock*>& children) const {
|
void getETNodeChildren(BasicBlock *A, std::vector<BasicBlock*>& children) const {
|
||||||
ETNode *NodeA = getNode(A);
|
ETNode *NodeA = getNode(A);
|
||||||
if (!NodeA) return;
|
if (!NodeA) return;
|
||||||
const ETNode* son = NodeA->getSon();
|
const ETNode* son = NodeA->getSon();
|
||||||
|
@ -352,7 +352,7 @@ bool CEE::TransformRegion(BasicBlock *BB, std::set<BasicBlock*> &VisitedBlocks){
|
|||||||
// information down now.
|
// information down now.
|
||||||
//
|
//
|
||||||
std::vector<BasicBlock*> children;
|
std::vector<BasicBlock*> children;
|
||||||
EF->getChildren(BB, children);
|
EF->getETNodeChildren(BB, children);
|
||||||
if (!RI.empty()) { // Time opt: only propagate if we can change something
|
if (!RI.empty()) { // Time opt: only propagate if we can change something
|
||||||
for (std::vector<BasicBlock*>::iterator CI = children.begin(),
|
for (std::vector<BasicBlock*>::iterator CI = children.begin(),
|
||||||
E = children.end(); CI != E; ++CI) {
|
E = children.end(); CI != E; ++CI) {
|
||||||
|
Loading…
Reference in New Issue
Block a user