Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Elijah please pull this fix to for the most recent amd64 code generator bug. #4

Merged
merged 1 commit into from

2 participants

@bradchen
Collaborator

No description provided.

@pasko pasko merged commit 50bdf2f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 8, 2011
  1. Always use near_call == TRUE in emit_call_body().

    Brad Chen authored
This page is out of date. Refresh to see the latest.
Showing with 4 additions and 1 deletion.
  1. +4 −1 mono/mini/mini-amd64.c
View
5 mono/mini/mini-amd64.c
@@ -3050,7 +3050,10 @@ emit_call_body (MonoCompile *cfg, guint8 *code, guint32 patch_type, gconstpointe
#ifdef MONO_ARCH_NOMAP32BIT
near_call = FALSE;
#endif
-
+#if defined(__native_client__)
+ /* Always use near_call == TRUE for Native Client */
+ near_call = TRUE;
+#endif
/* The 64bit XEN kernel does not honour the MAP_32BIT flag. (#522894) */
if (optimize_for_xen)
near_call = FALSE;
Something went wrong with that request. Please try again.