From d6d7d7e12824cda779445212130db244b97a368e Mon Sep 17 00:00:00 2001 From: Tobias Grosser Date: Sun, 1 Apr 2012 16:55:30 +0000 Subject: [PATCH] CodeGen: Remove unused variable llvm-svn: 153840 --- polly/lib/CodeGen/CodeGeneration.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/polly/lib/CodeGen/CodeGeneration.cpp b/polly/lib/CodeGen/CodeGeneration.cpp index 8714251f7c15..25e79fb1f4b8 100644 --- a/polly/lib/CodeGen/CodeGeneration.cpp +++ b/polly/lib/CodeGen/CodeGeneration.cpp @@ -240,8 +240,8 @@ protected: /// @brief Get the new operand address according to the changed access in /// JSCOP file. Value *getNewAccessOperand(__isl_keep isl_map *NewAccessRelation, - Value *BaseAddress, const Value *OldOperand, - ValueMapT &BBMap, ValueMapT &GlobalMap); + Value *BaseAddress, ValueMapT &BBMap, + ValueMapT &GlobalMap); /// @brief Generate the operand address Value *generateLocationAccessed(const Instruction *Inst, @@ -372,8 +372,8 @@ std::vector BlockGenerator::getMemoryAccessIndex( } Value *BlockGenerator::getNewAccessOperand( - __isl_keep isl_map *NewAccessRelation, Value *BaseAddress, const Value - *OldOperand, ValueMapT &BBMap, ValueMapT &GlobalMap) { + __isl_keep isl_map *NewAccessRelation, Value *BaseAddress, + ValueMapT &BBMap, ValueMapT &GlobalMap) { std::vector IndexArray = getMemoryAccessIndex(NewAccessRelation, BaseAddress, BBMap, GlobalMap); @@ -399,7 +399,7 @@ Value *BlockGenerator::generateLocationAccessed(const Instruction *Inst, NewPointer = getNewValue(Pointer, BBMap, GlobalMap); } else { Value *BaseAddress = const_cast(Access.getBaseAddr()); - NewPointer = getNewAccessOperand(NewAccessRelation, BaseAddress, Pointer, + NewPointer = getNewAccessOperand(NewAccessRelation, BaseAddress, BBMap, GlobalMap); }