From ab9f062166085c9750eeee2318c25efeb2ec5948 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 15 Oct 2010 23:57:06 -0700 Subject: GetArgument: Rework getArgument so that X86_FS compiles again. When no size is specified for an argument, push the decision about what size to use into the ISA by passing a size of -1. --- src/arch/x86/utility.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/arch/x86/utility.hh') diff --git a/src/arch/x86/utility.hh b/src/arch/x86/utility.hh index fd9ac59fd..05ce53347 100644 --- a/src/arch/x86/utility.hh +++ b/src/arch/x86/utility.hh @@ -52,7 +52,8 @@ class ThreadContext; namespace X86ISA { - uint64_t getArgument(ThreadContext *tc, int &number, uint8_t size, bool fp); + uint64_t + getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp); static inline bool inUserMode(ThreadContext *tc) -- cgit v1.2.3