OSDN Git Service

Remove unused accessor (NFC)
authorAdrian Prantl <aprantl@apple.com>
Tue, 1 Aug 2017 23:16:36 +0000 (23:16 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 1 Aug 2017 23:16:36 +0000 (23:16 +0000)
rdar://problem/33580047

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309763 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MachineLocation.h

index b8588ea..e81099d 100644 (file)
@@ -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) {