Added two minor methods.
[oota-llvm.git] / lib / Target / SparcV9 / RegAlloc / LiveRangeInfo.h
index d98ad9ab7a5859cc7b194e016cfee20a21dc7fe0..934737327be0bd66e91fe2a06c35b25d96824696 100644 (file)
@@ -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");