projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added two minor methods.
[oota-llvm.git]
/
lib
/
Target
/
SparcV9
/
RegAlloc
/
LiveRangeInfo.h
diff --git
a/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h
b/lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h
index d98ad9ab7a5859cc7b194e016cfee20a21dc7fe0..934737327be0bd66e91fe2a06c35b25d96824696 100644
(file)
--- a/
lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h
+++ b/
lib/Target/SparcV9/RegAlloc/LiveRangeInfo.h
@@
-75,6
+75,8
@@
public:
void constructLiveRanges();
+ const Method* getMethod() { return Meth; }
+
inline void addLRToMap(const Value *Val, LiveRange *LR) {
assert( Val && LR && "Val/LR is NULL!\n");
assert( (! LiveRangeMap[ Val ]) && "LR already set in map");