diff options
-rw-r--r-- | include/llvm/Constant.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h index c765503736..789fe70281 100644 --- a/include/llvm/Constant.h +++ b/include/llvm/Constant.h @@ -69,7 +69,8 @@ public: V->getValueType() == Value::ConstantExprVal || V->getValueType() == Value::ConstantAggregateZeroVal || V->getValueType() == Value::FunctionVal || - V->getValueType() == Value::GlobalVariableVal; + V->getValueType() == Value::GlobalVariableVal || + V->getValueType() == Value::UndefValueVal; } /// replaceUsesOfWithOnConstant - This method is a special form of |