-/// BROKEN: Should not include sparc stuff directly into here
-#include "../../Target/Sparc/SparcInternals.h" // Only for PHI defn
-
-using std::cerr;
-
-static AnnotationID AID(AnnotationManager::getID("Analysis::BBLiveVar"));
-
-BBLiveVar *BBLiveVar::CreateOnBB(const BasicBlock &BB, MachineBasicBlock &MBB,
- unsigned POID) {
- BBLiveVar *Result = new BBLiveVar(BB, MBB, POID);
- BB.addAnnotation(Result);
- return Result;
-}
-
-BBLiveVar *BBLiveVar::GetFromBB(const BasicBlock &BB) {
- return (BBLiveVar*)BB.getAnnotation(AID);
-}
-
-void BBLiveVar::RemoveFromBB(const BasicBlock &BB) {
- bool Deleted = BB.deleteAnnotation(AID);
- assert(Deleted && "BBLiveVar annotation did not exist!");
-}
-