summaryrefslogtreecommitdiff
path: root/src/arch/sparc/regfile.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-09-19 19:08:42 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-09-19 19:08:42 -0700
commitdd277e0d8f1e0303a74a29bd729864a4766e6f73 (patch)
tree53f0c3588af6e600a04af6977c1cbbeb0cf562c4 /src/arch/sparc/regfile.hh
parent3cd95a2748ebed72cedd64f7f4c945eef6e2ccf7 (diff)
downloadgem5-dd277e0d8f1e0303a74a29bd729864a4766e6f73.tar.xz
SPARC: Fix linking error from new flattenFloatIndex function.
--HG-- extra : convert_revision : 5260f33336e3a9d5e3592b784458e243157f17e3
Diffstat (limited to 'src/arch/sparc/regfile.hh')
-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;
}