mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 21:18:19 +00:00
remove some dead code
lib/Analysis/IPA/InlineCost.cpp | 18 ------------------ lib/Analysis/RegionPass.cpp | 1 - lib/Analysis/TypeBasedAliasAnalysis.cpp | 1 - lib/Transforms/Scalar/LoopUnswitch.cpp | 21 --------------------- lib/Transforms/Utils/LCSSA.cpp | 2 -- lib/Transforms/Utils/LoopSimplify.cpp | 6 ------ utils/TableGen/AsmWriterEmitter.cpp | 13 ------------- utils/TableGen/DFAPacketizerEmitter.cpp | 7 ------- utils/TableGen/IntrinsicEmitter.cpp | 2 -- 9 files changed, 71 deletions(-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206506 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -139,7 +139,6 @@ public:
|
||||
//
|
||||
// Modify the DFA.
|
||||
//
|
||||
void initialize();
|
||||
void addState(State *);
|
||||
|
||||
//
|
||||
@@ -248,12 +247,6 @@ bool State::canAddInsnClass(unsigned InsnClass) const {
|
||||
}
|
||||
|
||||
|
||||
void DFA::initialize() {
|
||||
assert(currentState && "Missing current state");
|
||||
currentState->isInitial = true;
|
||||
}
|
||||
|
||||
|
||||
void DFA::addState(State *S) {
|
||||
assert(!states.count(S) && "State already exists");
|
||||
states.insert(S);
|
||||
|
||||
Reference in New Issue
Block a user