From ecb34ef80da3880fcfb3e1d66b40bab1cde5e0cc Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Thu, 17 May 2012 14:30:03 -0800 Subject: Removing a variable that's never used Fixing shift/reduce conflicts [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12630] --- cuobjdump_to_ptxplus/cuobjdumpInstList.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'cuobjdump_to_ptxplus/cuobjdumpInstList.cc') diff --git a/cuobjdump_to_ptxplus/cuobjdumpInstList.cc b/cuobjdump_to_ptxplus/cuobjdumpInstList.cc index b850298..ea5df82 100644 --- a/cuobjdump_to_ptxplus/cuobjdumpInstList.cc +++ b/cuobjdump_to_ptxplus/cuobjdumpInstList.cc @@ -368,7 +368,6 @@ void cuobjdumpInstList::addCuobjdumpRegister(std::string reg, bool lo) // add memory operand // memType: 0=constant, 1=shared, 2=global, 3=local -unsigned currconstmem =1; void cuobjdumpInstList::addCuobjdumpMemoryOperand(std::string mem, int memType) { std::string origMem = mem; bool neg = false; @@ -409,7 +408,6 @@ void cuobjdumpInstList::addCuobjdumpMemoryOperand(std::string mem, int memType) mem = "constant0" + mem.substr(7, mem.length()); } else if(mem.substr(0, 5) == "c [0x"){ - if(currconstmem != m_entryList.size()) currconstmem++; std::string out; out = "constant1" + m_entryList.back().m_entryName + mem.substr(8); mem = out.c_str(); -- cgit v1.3