summaryrefslogtreecommitdiff
path: root/include/llvm/CodeGen/MachineLocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/CodeGen/MachineLocation.h')
-rw-r--r--include/llvm/CodeGen/MachineLocation.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineLocation.h b/include/llvm/CodeGen/MachineLocation.h
index 51c4295974..2db4e5571e 100644
--- a/include/llvm/CodeGen/MachineLocation.h
+++ b/include/llvm/CodeGen/MachineLocation.h
@@ -52,8 +52,8 @@ public:
{}
// Accessors
- bool isRegister() const { return IsRegister; }
- unsigned getRegister() const { return Register; }
+ bool isReg() const { return IsRegister; }
+ unsigned getReg() const { return Register; }
int getOffset() const { return Offset; }
void setIsRegister(bool Is) { IsRegister = Is; }
void setRegister(unsigned R) { Register = R; }