From: Benjamin Kramer Date: Thu, 27 Jun 2013 11:26:41 +0000 (+0000) Subject: Remove unused variable. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=88d93a7cc4546439c82490db20c71b4b702dcc7a;p=oota-llvm.git Remove unused variable. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185072 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/StackSlotColoring.cpp b/lib/CodeGen/StackSlotColoring.cpp index 8905ac7fe8e..b166671e1ba 100644 --- a/lib/CodeGen/StackSlotColoring.cpp +++ b/lib/CodeGen/StackSlotColoring.cpp @@ -14,7 +14,6 @@ #define DEBUG_TYPE "stackslotcoloring" #include "llvm/CodeGen/Passes.h" #include "llvm/ADT/BitVector.h" -#include "llvm/ADT/SmallSet.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/Statistic.h" #include "llvm/CodeGen/LiveIntervalAnalysis.h" @@ -293,7 +292,6 @@ bool StackSlotColoring::ColorSlots(MachineFunction &MF) { return false; // Rewrite all MO_FrameIndex operands. - SmallVector, 4> NewDefs(MF.getNumBlockIDs()); for (unsigned SS = 0, SE = SSRefs.size(); SS != SE; ++SS) { int NewFI = SlotMapping[SS]; if (NewFI == -1 || (NewFI == (int)SS))