diff --git a/include/llvm/Transforms/Scalar/ConstantHoisting.h b/include/llvm/Transforms/Scalar/ConstantHoisting.h index 26d4a2476a8..11379e59467 100644 --- a/include/llvm/Transforms/Scalar/ConstantHoisting.h +++ b/include/llvm/Transforms/Scalar/ConstantHoisting.h @@ -198,7 +198,6 @@ private: // constant GEP base. bool emitBaseConstants(GlobalVariable *BaseGV); void deleteDeadCastInst() const; - bool optimizeConstants(Function &Fn); }; } // end namespace llvm