diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-09 03:39:58 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-10-09 03:39:58 +0000 |
commit | aa3437359864a40e37ab0ddb221f243c3c952b14 (patch) | |
tree | 3ea3b8f3757b8102c4aa79d4d0e4f8426b3ea776 /target-mips/exec.h | |
parent | 6dab28d5b5bfa67bef724efac0bc051a69ff1339 (diff) |
Use always_inline in the MIPS support where applicable.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3375 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-mips/exec.h')
-rw-r--r-- | target-mips/exec.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target-mips/exec.h b/target-mips/exec.h index ea95da06e2..45be7b37c7 100644 --- a/target-mips/exec.h +++ b/target-mips/exec.h @@ -205,15 +205,15 @@ FOP_PROTO(le) FOP_PROTO(ngt) #undef FOP_PROTO -static inline void env_to_regs(void) +static always_inline void env_to_regs(void) { } -static inline void regs_to_env(void) +static always_inline void regs_to_env(void) { } -static inline int cpu_halted(CPUState *env) +static always_inline int cpu_halted(CPUState *env) { if (!env->halted) return 0; @@ -225,7 +225,7 @@ static inline int cpu_halted(CPUState *env) return EXCP_HALTED; } -static inline void compute_hflags(CPUState *env) +static always_inline void compute_hflags(CPUState *env) { env->hflags &= ~(MIPS_HFLAG_64 | MIPS_HFLAG_CP0 | MIPS_HFLAG_F64 | MIPS_HFLAG_FPU | MIPS_HFLAG_UM); |