From: Adrian Prantl Date: Tue, 1 Aug 2017 23:16:36 +0000 (+0000) Subject: Remove unused accessor (NFC) X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88d9e5d614786cd51312d68582c025b4bcd045fb;p=llvm Remove unused accessor (NFC) rdar://problem/33580047 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309763 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/MC/MachineLocation.h b/include/llvm/MC/MachineLocation.h index b8588ea2bf8..e81099d0825 100644 --- a/include/llvm/MC/MachineLocation.h +++ b/include/llvm/MC/MachineLocation.h @@ -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) {