X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fexceptions-s390x.c;h=9c2cfc932d53a468890e4d7ef0dda901adf41dcd;hb=90ef0ccc072c15dc16b28e52fc3d193fcd178bb5;hp=74c8a0f37a3dfc9fb29813eb87029ad251f7421f;hpb=dacc3f8c5d4331f7a40413f3a802ec4049da1e2e;p=mono.git diff --git a/mono/mini/exceptions-s390x.c b/mono/mini/exceptions-s390x.c index 74c8a0f37a3..9c2cfc932d5 100644 --- a/mono/mini/exceptions-s390x.c +++ b/mono/mini/exceptions-s390x.c @@ -33,8 +33,6 @@ #define S390_THROWSTACK_ACCREGS (S390_THROWSTACK_FLTREGS+(16*sizeof(gdouble))) #define S390_THROWSTACK_SIZE (S390_THROWSTACK_ACCREGS+(16*sizeof(gint32))) -#define S390_REG_SAVE_R13 (S390_REG_SAVE_OFFSET+(7*sizeof(gulong))) - #define SZ_THROW 384 #define setup_context(ctx) @@ -361,8 +359,8 @@ mono_arch_get_throw_exception_generic (int size, MonoTrampInfo **info, if (info) *info = mono_tramp_info_create (corlib ? "throw_corlib_exception" - : (rethrow ? "rethrow_exception" - : "throw_exception"), + : (rethrow ? "rethrow_exception" + : "throw_exception"), start, code - start, ji, unwind_ops); return start; @@ -532,39 +530,6 @@ mono_arch_handle_exception (void *uc, gpointer obj) /*========================= End of Function ========================*/ -/*------------------------------------------------------------------*/ -/* */ -/* Name - mono_arch_sigctx_to_monoctx. */ -/* */ -/* Function - Called from the signal handler to convert signal */ -/* context to MonoContext. */ -/* */ -/*------------------------------------------------------------------*/ - -void -mono_arch_sigctx_to_monoctx (void *ctx, MonoContext *mctx) -{ - mono_sigctx_to_monoctx(ctx, mctx); -} - -/*========================= End of Function ========================*/ - -/*------------------------------------------------------------------*/ -/* */ -/* Name - mono_arch_monoctx_to_sigctx. */ -/* */ -/* Function - Convert MonoContext structure to signal context. */ -/* */ -/*------------------------------------------------------------------*/ - -void -mono_arch_monoctx_to_sigctx (MonoContext *mctx, void *ctx) -{ - mono_monoctx_to_sigctx(mctx, ctx); -} - -/*========================= End of Function ========================*/ - /*------------------------------------------------------------------*/ /* */ /* Name - mono_arch_ip_from_context */