is_caller_saved_reg() is no longer used since caller_save_regs has been introduced, so we remove it.
Signed-off-by: Eduard - Gabriel Munteanu <eduard.munte...@linux360.ro> --- arch/x86/include/arch/registers_64.h | 18 ------------------ 1 files changed, 0 insertions(+), 18 deletions(-) diff --git a/arch/x86/include/arch/registers_64.h b/arch/x86/include/arch/registers_64.h index dc2177f..057d97e 100644 --- a/arch/x86/include/arch/registers_64.h +++ b/arch/x86/include/arch/registers_64.h @@ -62,22 +62,4 @@ const char *reg_name(enum machine_reg reg); enum machine_reg_type reg_type(enum machine_reg reg); bool reg_supports_type(enum machine_reg reg, enum vm_type type); -static inline bool is_caller_saved_reg(enum machine_reg reg) -{ - /* - * As per x86-64 ABI: - * - * Registers %rbp, %rbx, and %r12 through %r15 "belong" to the calling - * function and the called function is required to preserve their - * values. - */ - if (reg == MACH_REG_RAX || reg == MACH_REG_RCX || reg == MACH_REG_RDX) - return true; - - if (reg >= MACH_REG_RSI && reg <= MACH_REG_R11) - return true; - - return false; -} - #endif /* __X86_REGISTERS_64_H */ -- 1.6.0.6 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Jatovm-devel mailing list Jatovm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jatovm-devel