mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 08:17:40 +00:00
MEGAPATCH checkin.
For details, See: docs/2002-06-25-MegaPatchInfo.txt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2778 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -25,7 +25,6 @@
|
||||
#include "llvm/iTerminators.h"
|
||||
#include "llvm/iMemory.h"
|
||||
#include "llvm/Constant.h"
|
||||
#include "llvm/BasicBlock.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/CodeGen/MachineInstr.h"
|
||||
#include "Support/STLExtras.h"
|
||||
@@ -188,10 +187,9 @@ LabelNode::dumpNode(int indent) const
|
||||
|
||||
InstrForest::InstrForest(Function *F)
|
||||
{
|
||||
for (Function::iterator FI = F->begin(), FE = F->end(); FI != FE; ++FI) {
|
||||
BasicBlock *BB = *FI;
|
||||
for_each(BB->begin(), BB->end(),
|
||||
bind_obj(this, &InstrForest::buildTreeForInstruction));
|
||||
for (Function::iterator BB = F->begin(), FE = F->end(); BB != FE; ++BB) {
|
||||
for(BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; ++I)
|
||||
buildTreeForInstruction(I);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user