Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(22)

Unified Diff: src/IceLiveness.h

Issue 656023002: Subzero: Register allocator performance improvements and simplifications. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceLiveness.cpp » ('j') | src/IceOperand.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceLiveness.h
diff --git a/src/IceLiveness.h b/src/IceLiveness.h
index 2949d568d68964f67793512cc6ba06a9b09f0499..4c6da6c9021676006793c54329bce02813dbfbe0 100644
--- a/src/IceLiveness.h
+++ b/src/IceLiveness.h
@@ -52,6 +52,9 @@ private:
};
class Liveness {
+ Liveness(const Liveness &) = delete;
+ Liveness &operator=(const Liveness &) = delete;
+
public:
Liveness(Cfg *Func, LivenessMode Mode)
: Func(Func), Mode(Mode), NumGlobals(0) {}
@@ -76,9 +79,6 @@ public:
LiveBeginEndMap *getLiveEnd(const CfgNode *Node) {
return &Nodes[Node->getIndex()].LiveEnd;
}
- LiveRange &getLiveRange(Variable *Var);
- void addLiveRange(Variable *Var, InstNumberT Start, InstNumberT End,
- uint32_t WeightDelta);
private:
Cfg *Func;
@@ -92,10 +92,6 @@ private:
// LiveToVarMap is analogous to LivenessNode::LiveToVarMap, but for
// non-local variables.
std::vector<Variable *> LiveToVarMap;
- // LiveRanges maps a Variable::Number to its live range.
- std::vector<LiveRange> LiveRanges;
- Liveness(const Liveness &) = delete;
- Liveness &operator=(const Liveness &) = delete;
};
} // end of namespace Ice
« no previous file with comments | « src/IceCfgNode.cpp ('k') | src/IceLiveness.cpp » ('j') | src/IceOperand.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698