[llvm] r309763 - Remove unused accessor (NFC)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 16:16:36 PDT 2017


Author: adrian
Date: Tue Aug  1 16:16:36 2017
New Revision: 309763

URL: http://llvm.org/viewvc/llvm-project?rev=309763&view=rev
Log:
Remove unused accessor (NFC)

rdar://problem/33580047

Modified:
    llvm/trunk/include/llvm/MC/MachineLocation.h

Modified: llvm/trunk/include/llvm/MC/MachineLocation.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MachineLocation.h?rev=309763&r1=309762&r2=309763&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MachineLocation.h (original)
+++ llvm/trunk/include/llvm/MC/MachineLocation.h Tue Aug  1 16:16:36 2017
@@ -54,7 +54,6 @@ public:
   int getOffset()        const { return Offset; }
   void setIsRegister(bool Is)  { IsRegister = Is; }
   void setRegister(unsigned R) { Register = R; }
-  void setOffset(int O)        { Offset = O; }
 
   /// Make this location a direct register location.
   void set(unsigned R) {




More information about the llvm-commits mailing list