projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68150e7
)
Disable v4 monitor.enter fastpath under aot and llvm
author
Rodrigo Kumpera
<kumpera@gmail.com>
Tue, 24 May 2011 23:16:20 +0000
(20:16 -0300)
committer
Rodrigo Kumpera
<kumpera@gmail.com>
Tue, 24 May 2011 23:16:20 +0000
(20:16 -0300)
mono/mini/method-to-ir.c
patch
|
blob
|
history
diff --git
a/mono/mini/method-to-ir.c
b/mono/mini/method-to-ir.c
index 195c749117f2ddfa10183aafd66ba7ebc91cf263..dcfbb246eb4d2fd637e0ae883a513ebf3cab038c 100644
(file)
--- a/
mono/mini/method-to-ir.c
+++ b/
mono/mini/method-to-ir.c
@@
-4453,6
+4453,10
@@
mini_emit_inst_for_method (MonoCompile *cfg, MonoMethod *cmethod, MonoMethodSign
if (strcmp (cmethod->name, "Enter") == 0 && fsig->param_count == 2) {
MonoMethod *fast_method = NULL;
+ /*FIXME fix LLVM and AOT support*/
+ if (COMPILE_LLVM (cfg) || cfg->compile_aot)
+ return NULL;
+
/* Avoid infinite recursion */
if (cfg->method->wrapper_type == MONO_WRAPPER_UNKNOWN && !strcmp (cfg->method->name, "FastMonitorEnterV4"))
return NULL;