PowerPC: remove dead initialization (NFC)
[oota-llvm.git] / lib / Target / PowerPC / PPCFrameLowering.cpp
index 87229d80d9c15a2463f85341b16b4193c0c7d1e4..6f660e968e8a620bb764c3418165f21a9c689b96 100644 (file)
@@ -1201,8 +1201,7 @@ void PPCFrameLowering::determineCalleeSaves(MachineFunction &MF,
   // Reserve stack space for the PIC Base register (R30).
   // Only used in SVR4 32-bit.
   if (FI->usesPICBase()) {
-    int PBPSI = FI->getPICBasePointerSaveIndex();
-    PBPSI = MFI->CreateFixedObject(4, -8, true);
+    int PBPSI = MFI->CreateFixedObject(4, -8, true);
     FI->setPICBasePointerSaveIndex(PBPSI);
   }