From b928c57397f61e4c54274818dd63e61e21016d9d Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Wed, 22 Apr 2009 16:00:36 +0000 Subject: [PATCH] Make SCEVExpanders private methods private, instead of protected. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69806 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/ScalarEvolutionExpander.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/llvm/Analysis/ScalarEvolutionExpander.h b/include/llvm/Analysis/ScalarEvolutionExpander.h index 16db5f39c41..5327f9d7161 100644 --- a/include/llvm/Analysis/ScalarEvolutionExpander.h +++ b/include/llvm/Analysis/ScalarEvolutionExpander.h @@ -91,7 +91,8 @@ namespace llvm { /// of work to avoid inserting an obviously redundant operation. static Value *InsertBinop(Instruction::BinaryOps Opcode, Value *LHS, Value *RHS, Instruction *InsertPt); - protected: + + private: Value *expand(const SCEV *S); Value *visitConstant(const SCEVConstant *S) {