aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/AVR/AVRSubtarget.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Target/AVR/AVRSubtarget.h')
-rw-r--r--llvm/lib/Target/AVR/AVRSubtarget.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Target/AVR/AVRSubtarget.h b/llvm/lib/Target/AVR/AVRSubtarget.h
index 2325193bac0a..3dd71243387b 100644
--- a/llvm/lib/Target/AVR/AVRSubtarget.h
+++ b/llvm/lib/Target/AVR/AVRSubtarget.h
@@ -92,15 +92,15 @@ public:
}
/// Get I/O register addresses.
- int getIORegRAMPZ(void) const { return hasELPM() ? 0x3b : -1; }
- int getIORegEIND(void) const { return hasEIJMPCALL() ? 0x3c : -1; }
- int getIORegSPL(void) const { return 0x3d; }
- int getIORegSPH(void) const { return hasSmallStack() ? -1 : 0x3e; }
- int getIORegSREG(void) const { return 0x3f; }
+ int getIORegRAMPZ() const { return hasELPM() ? 0x3b : -1; }
+ int getIORegEIND() const { return hasEIJMPCALL() ? 0x3c : -1; }
+ int getIORegSPL() const { return 0x3d; }
+ int getIORegSPH() const { return hasSmallStack() ? -1 : 0x3e; }
+ int getIORegSREG() const { return 0x3f; }
/// Get GPR aliases.
- int getRegTmpIndex(void) const { return hasTinyEncoding() ? 16 : 0; }
- int getRegZeroIndex(void) const { return hasTinyEncoding() ? 17 : 1; }
+ int getRegTmpIndex() const { return hasTinyEncoding() ? 16 : 0; }
+ int getRegZeroIndex() const { return hasTinyEncoding() ? 17 : 1; }
private:
/// The ELF e_flags architecture.