diff options
author | Chris Lattner <sabre@nondot.org> | 2007-04-18 00:43:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-04-18 00:43:05 +0000 |
commit | 2f15254d77547716c38d84432a15d946cefa2cae (patch) | |
tree | e06945373f3bd1bdb8a154c9ae607742aa41ab2e | |
parent | 3fefc182a00663bfadbcbe17711b6d08469c9727 (diff) |
what's an & between friends?
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36234 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/llvm/Analysis/ScalarEvolutionExpander.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/ScalarEvolutionExpander.h b/include/llvm/Analysis/ScalarEvolutionExpander.h index 664c9d397f..f5ebceb856 100644 --- a/include/llvm/Analysis/ScalarEvolutionExpander.h +++ b/include/llvm/Analysis/ScalarEvolutionExpander.h @@ -92,7 +92,7 @@ namespace llvm { /// InsertBinop - Insert the specified binary operator, doing a small amount /// of work to avoid inserting an obviously redundant operation. static Value *InsertBinop(Instruction::BinaryOps Opcode, Value *LHS, - Value *RHS, Instruction *InsertPt); + Value *RHS, Instruction *&InsertPt); protected: Value *expand(SCEV *S) { // Check to see if we already expanded this. |