aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Value.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h
index eba9372330..0960346cb8 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -224,9 +224,11 @@ public:
NamedMDNodeVal, // This is an instance of NamedMDNode
InlineAsmVal, // This is an instance of InlineAsm
PseudoSourceValueVal, // This is an instance of PseudoSourceValue
- InstructionVal, // This is an instance of Instruction
FixedStackPseudoSourceValueVal, // This is an instance of
// FixedStackPseudoSourceValue
+ InstructionVal, // This is an instance of Instruction
+ // Enum values starting at InstructionVal are used for Instructions;
+ // don't add new values here!
// Markers:
ConstantFirstVal = FunctionVal,