remove dead method
[oota-llvm.git] / include / llvm / CodeGen / ValueSet.h
index 0c0aefad2062e668253b216f8b73fed06f9891fb..f4bc6e80d444a44d827b4781f11f3c0f50978fa5 100644 (file)
@@ -1,19 +1,39 @@
+//===-- llvm/CodeGen/ValueSet.h ---------------------------------*- C++ -*-===//
+// 
+//                     The LLVM Compiler Infrastructure
+//
+// This file was developed by the LLVM research group and is distributed under
+// the University of Illinois Open Source License. See LICENSE.TXT for details.
+// 
+//===----------------------------------------------------------------------===//
+//
+// This header is OBSOLETE, do not use it for new code.
+//
+// FIXME: Eliminate this file.
+//
+//===----------------------------------------------------------------------===//
+
 #ifndef VALUE_SET_H
 #define VALUE_SET_H
 
 #include <set>
+
+namespace llvm {
+
 class Value;
 
 // RAV - Used to print values in a form used by the register allocator.  
 //
 struct RAV {  // Register Allocator Value
-  const Value *V;
-  RAV(const Value *v) : V(v) {}
+  const Value &V;
+  RAV(const Value *v) : V(*v) {}
+  RAV(const Value &v) : V(v) {}
 };
 std::ostream &operator<<(std::ostream &out, RAV Val);
 
-
 typedef std::set<const Value*> ValueSet;
 void printSet(const ValueSet &S);
 
+} // End llvm namespace
+
 #endif