mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-31 09:32:11 +00:00
Cosmetic patch for r148132.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148133 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a5a1e46d00
commit
5dab2bf293
@ -86,6 +86,7 @@ namespace {
|
||||
UnswitchedValsMap* CurLoopInstructions;
|
||||
LoopProperties* CurrentLoopProperties;
|
||||
|
||||
// Max size of code we can produce on remained iterations.
|
||||
unsigned MaxSize;
|
||||
|
||||
public:
|
||||
@ -125,19 +126,6 @@ namespace {
|
||||
// after RewriteLoopBodyWithConditionConstant rewrites first loop.
|
||||
std::vector<Loop*> LoopProcessWorklist;
|
||||
|
||||
// TODO: This few lines are here for cosmetic purposes only.
|
||||
// Will be removed with the next commit.
|
||||
struct LoopProperties {
|
||||
unsigned CanBeUnswitchedCount;
|
||||
unsigned SizeEstimation;
|
||||
};
|
||||
|
||||
// TODO: This few lines are here for cosmetic purposes only.
|
||||
// Will be removed with the next commit.
|
||||
typedef DenseMap<const Loop*, LoopProperties> LoopPropsMap;
|
||||
typedef LoopPropsMap::iterator LoopPropsMapIt;
|
||||
LoopPropsMap LoopsProperties;
|
||||
|
||||
LUAnalysisCache BranchesInfo;
|
||||
|
||||
bool OptimizeForSize;
|
||||
|
Loading…
Reference in New Issue
Block a user