From: Zoltan Varga Date: Mon, 19 Jun 2017 18:33:44 +0000 (-0400) Subject: [arm64] Remove an assert which is hit when mono_arch_get_call_target () is called... X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=mono.git;a=commitdiff_plain;h=bee68ad79f04f75a387f91c5b677b26c8dee637f [arm64] Remove an assert which is hit when mono_arch_get_call_target () is called with a 'b' instead of a 'bl'. --- diff --git a/mono/mini/tramp-arm64.c b/mono/mini/tramp-arm64.c index e8503e61c6c..cf4057a9434 100644 --- a/mono/mini/tramp-arm64.c +++ b/mono/mini/tramp-arm64.c @@ -79,8 +79,7 @@ mono_arch_get_call_target (guint8 *code) code -= 4; imm = *(guint32*)code; - /* Should be a bl */ - g_assert (((imm >> 31) & 0x1) == 0x1); + /* Should be a b/bl */ g_assert (((imm >> 26) & 0x7) == 0x5); disp = (imm & 0x3ffffff);