diff options
Diffstat (limited to 'src/arch/x86/process.cc')
-rw-r--r-- | src/arch/x86/process.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index 66a520bc3..4b71357b0 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -73,7 +73,10 @@ static const int ArgumentReg[] = { INTREG_R8W, INTREG_R9W }; -static const int NumArgumentRegs = sizeof(ArgumentReg) / sizeof(const int); + +static const int NumArgumentRegs M5_VAR_USED = + sizeof(ArgumentReg) / sizeof(const int); + static const int ArgumentReg32[] = { INTREG_EBX, INTREG_ECX, @@ -82,7 +85,9 @@ static const int ArgumentReg32[] = { INTREG_EDI, INTREG_EBP }; -static const int NumArgumentRegs32 = sizeof(ArgumentReg) / sizeof(const int); + +static const int NumArgumentRegs32 M5_VAR_USED = + sizeof(ArgumentReg) / sizeof(const int); X86LiveProcess::X86LiveProcess(LiveProcessParams * params, ObjectFile *objFile, SyscallDesc *_syscallDescs, int _numSyscallDescs) : |