From 718af9f32f9d7ffb14e3706d1952a881a8b461c2 Mon Sep 17 00:00:00 2001 From: Peter Molnar Date: Thu, 28 Feb 2008 10:03:39 +0100 Subject: [PATCH] * src/vm/jit/s390/asmpart.S (L_offsets): Removed references to unused functions. * src/vm/jit/s390/md.c: Including vm/jit/s390/md.h. --- src/vm/jit/s390/asmpart.S | 25 ------------------------- src/vm/jit/s390/md.c | 1 + 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/src/vm/jit/s390/asmpart.S b/src/vm/jit/s390/asmpart.S index 1022d1626..da8913a7a 100644 --- a/src/vm/jit/s390/asmpart.S +++ b/src/vm/jit/s390/asmpart.S @@ -343,37 +343,12 @@ L_restore_done: # undef FREGS # undef OUT -#if 0 - -/* asm_abstractmethoderror ***************************************************** - - Creates and throws an AbstractMethodError. - -*******************************************************************************/ - -asm_abstractmethoderror: - mov sp,a0 /* pass java sp */ - add $1*8,a0 - mov 0*8(sp),a1 /* pass exception address */ - sub $3,a1 - call exceptions_asm_new_abstractmethoderror@PLT - /* exception pointer is return value */ - pop xpc /* get exception address */ - sub $3,xpc /* exception address is ra - 3 */ - jmp L_asm_handle_exception - -#endif - /* Offset table for PIC calls, see CALL_PIC */ L_offsets: .long _GLOBAL_OFFSET_TABLE_ - L_offsets L_offset_builtin_throw_exception: .long builtin_throw_exception@PLTOFF -L_offset_jit_asm_compile: - .long jit_asm_compile@PLTOFF -L_offset_exceptions_get_and_clear_exception: - .long exceptions_get_and_clear_exception@PLTOFF L_offset_md_handle_exception: .long md_handle_exception@PLTOFF diff --git a/src/vm/jit/s390/md.c b/src/vm/jit/s390/md.c index 52c6bbc46..9274ed12b 100644 --- a/src/vm/jit/s390/md.c +++ b/src/vm/jit/s390/md.c @@ -55,6 +55,7 @@ #include "vm/jit/codegen-common.h" #include "vm/jit/s390/codegen.h" +#include "vm/jit/s390/md.h" /* prototypes *****************************************************************/ -- 2.25.1