Skip to content

Commit

Permalink
Fix the build.
Browse files Browse the repository at this point in the history
  • Loading branch information
vargaz committed May 13, 2013
1 parent 4b4e8ed commit 46c9e87
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mono/mini/aot-runtime.c
Original file line number Diff line number Diff line change
Expand Up @@ -1495,6 +1495,7 @@ check_usable (MonoAssembly *assembly, MonoAotFileInfo *info, char **out_msg)
static void*
get_arm_bl_target (guint32 *ins_addr)
{
#ifdef TARGET_ARM
guint32 ins = *ins_addr;
gint32 offset;

Expand All @@ -1506,6 +1507,10 @@ get_arm_bl_target (guint32 *ins_addr)
offset = (((int)ins & 0xffffff) << 8) >> 8;
return (char*)ins_addr + (offset * 4) + 8;
}
#else
g_assert_not_reached ();
return NULL;
#endif
}

static void
Expand Down

0 comments on commit 46c9e87

Please sign in to comment.