Merge pull request #1548 from akoeplinger/stubs
[mono.git] / mono / mini / exceptions-sparc.c
index 20d2f0facefe90102e81875de578903664e8c138..3ebe2e7a29c422b5bc72c2a65e1002cd8a1ad235 100644 (file)
@@ -350,11 +350,6 @@ mono_arch_find_jit_info (MonoDomain *domain, MonoJitTlsData *jit_tls,
        if (ji != NULL) {
                frame->type = FRAME_TYPE_MANAGED;
 
-               if (*lmf && (MONO_CONTEXT_GET_BP (ctx) >= (gpointer)(*lmf)->ebp)) {
-                       /* remove any unused lmf */
-                       *lmf = (*lmf)->previous_lmf;
-               }
-
                /* Restore ip and sp from the saved register window */
                window = MONO_SPARC_WINDOW_ADDR (ctx->sp);
                new_ctx->ip = window [sparc_i7 - 16];