devirtualize Constant::isNullValue:
[oota-llvm.git] / include / llvm / Constant.h
index 95da9fc20c327357818dcf40896d54cb41601183..5e351c4ec504cfb5e64b2c4fb542aec4ac5b1dc0 100644 (file)
@@ -50,7 +50,7 @@ protected:
 public:
   /// isNullValue - Return true if this is the value that would be returned by
   /// getNullValue.
-  virtual bool isNullValue() const = 0;
+  bool isNullValue() const;
 
   /// isNegativeZeroValue - Return true if the value is what would be returned 
   /// by getZeroValueForNegation.