diff --git a/include/llvm/Value.h b/include/llvm/Value.h index 91d89129c97..66dffcbda90 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -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; diff --git a/lib/Bytecode/Reader/Reader.h b/lib/Bytecode/Reader/Reader.h index 4720e88a3cf..843364ac9fc 100644 --- a/lib/Bytecode/Reader/Reader.h +++ b/lib/Bytecode/Reader/Reader.h @@ -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(); }