From dd277e0d8f1e0303a74a29bd729864a4766e6f73 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 19 Sep 2007 19:08:42 -0700 Subject: [PATCH] SPARC: Fix linking error from new flattenFloatIndex function. --HG-- extra : convert_revision : 5260f33336e3a9d5e3592b784458e243157f17e3 --- src/arch/sparc/regfile.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.30.2