aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Value.h1
-rw-r--r--lib/Bytecode/Reader/Reader.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index 91d89129c9..66dffcbda9 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 4720e88a3c..843364ac9f 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(); }