projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cb135a
)
Allow assemblies without AOT images in full-aot mode if they don't have any methods.
author
Zoltan Varga
<vargaz@gmail.com>
Tue, 24 Jan 2012 02:05:50 +0000
(
03:05
+0100)
committer
Zoltan Varga
<vargaz@gmail.com>
Tue, 24 Jan 2012 02:06:00 +0000
(
03:06
+0100)
mono/mini/aot-runtime.c
patch
|
blob
|
history
diff --git
a/mono/mini/aot-runtime.c
b/mono/mini/aot-runtime.c
index 7a6ecdb22ec27f99d020d1ab7c13fe91a807c211..6befe4f2738c5d300884bd001bdbd9562b370399 100644
(file)
--- a/
mono/mini/aot-runtime.c
+++ b/
mono/mini/aot-runtime.c
@@
-1422,7
+1422,7
@@
load_aot_module (MonoAssembly *assembly, gpointer user_data)
}
if (!sofile && !globals) {
- if (mono_aot_only) {
+ if (mono_aot_only
&& assembly->image->tables [MONO_TABLE_METHOD].rows
) {
fprintf (stderr, "Failed to load AOT module '%s' in aot-only mode.\n", aot_name);
exit (1);
}