From 4f345060dd2ca75316b8b657d02c2129ab85d1a3 Mon Sep 17 00:00:00 2001 From: Adrian Prantl Date: Tue, 1 Aug 2017 23:16:36 +0000 Subject: [PATCH] Remove unused accessor (NFC) rdar://problem/33580047 llvm-svn: 309763 --- llvm/include/llvm/MC/MachineLocation.h | 1 - 1 file changed, 1 deletion(-) diff --git a/llvm/include/llvm/MC/MachineLocation.h b/llvm/include/llvm/MC/MachineLocation.h index b8588ea2bf82..e81099d08251 100644 --- a/llvm/include/llvm/MC/MachineLocation.h +++ b/llvm/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) {