summaryrefslogtreecommitdiff
path: root/src/arch/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/sparc')
-rw-r--r--src/arch/sparc/regfile.hh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/sparc/regfile.hh b/src/arch/sparc/regfile.hh
index 7972d6982..c03f69fc5 100644
--- a/src/arch/sparc/regfile.hh
+++ b/src/arch/sparc/regfile.hh
@@ -122,7 +122,8 @@ namespace SparcISA
int flattenIntIndex(ThreadContext * tc, int reg);
- int flattenFloatIndex(ThreadContext * tc, int reg)
+ static inline int
+ flattenFloatIndex(ThreadContext * tc, int reg)
{
return reg;
}