projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6fb7ac2
)
[aot] Fix a regression introduced by cc946ea5b9e3cbb020c66d8986ecd220ca7ba58c.
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 22 Sep 2015 18:06:38 +0000
(14:06 -0400)
committer
Zoltan Varga
<vargaz@gmail.com>
Tue, 22 Sep 2015 18:08:09 +0000
(14:08 -0400)
mono/mini/aot-compiler.c
patch
|
blob
|
history
diff --git
a/mono/mini/aot-compiler.c
b/mono/mini/aot-compiler.c
index 34436087714a4051e85ce90e63846ab2cac31a01..8b8b3879e4cd31868fbec04d16b055f4ebe3b8ae 100644
(file)
--- a/
mono/mini/aot-compiler.c
+++ b/
mono/mini/aot-compiler.c
@@
-852,8
+852,8
@@
arch_emit_direct_call (MonoAotCompile *acfg, const char *target, gboolean extern
{
#if defined(TARGET_X86) || defined(TARGET_AMD64)
/* Need to make sure this is exactly 5 bytes long */
- emit_
byte (acfg, '\xe8'
);
-
emit_symbol_diff (acfg, target, ".", -4
);
+ emit_
unset_mode (acfg
);
+
fprintf (acfg->fp, "call %s\n", target
);
*call_size = 5;
#elif defined(TARGET_ARM)
emit_unset_mode (acfg);