Remove definition and use of OtherVal enumerator. This just fixes a thinko.
authorReid Spencer <rspencer@reidspencer.com>
Tue, 6 Jul 2004 01:30:36 +0000 (01:30 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Tue, 6 Jul 2004 01:30:36 +0000 (01:30 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14634 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Value.h
lib/Bytecode/Reader/Reader.h

index 91d89129c9731814577c8603dade039c3f26dc00..66dffcbda90098daf5063b917e59e99ba6942cff 100644 (file)
@@ -127,7 +127,6 @@ public:
     GlobalVariableVal,      // This is an instance of GlobalVariable
     ConstantVal,            // This is an instance of Constant
     InstructionVal,         // This is an instance of Instruction
-    OtherVal,               // This is an instance of something else
   };
   unsigned getValueType() const {
     return SubclassID;
index 4720e88a3cfd049ff80017db76836dafda5a2a75..843364ac9fc4e2fd534ccd16d737d4e3f5b77e99 100644 (file)
@@ -72,7 +72,7 @@ public:
   /// globals section.
   /// @brief A list of values as a User of those Values.
   struct ValueList : public User {
-    ValueList() : User(Type::VoidTy, Value::OtherVal) {}
+    ValueList() : User(Type::VoidTy, Value::FunctionVal) {}
 
     // vector compatibility methods
     unsigned size() const { return getNumOperands(); }