From: Zoltan Varga Date: Wed, 11 Sep 2019 02:24:40 +0000 (-0400) Subject: [wasm] Add missing aot-profile/runtime.js. (mono/mono#16762) X-Git-Tag: submit/tizen/20210909.063632~10331^2~5^2~529 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f8e6394af767ae3861a164cf3ad87442687813c2;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [wasm] Add missing aot-profile/runtime.js. (mono/mono#16762) * [wasm] Add missing aot-profile/runtime.js. * [aot] Avoid writing out a zero AOTID in deterministic mode. * [wasm] Add --aot-profile= option to packager. Commit migrated from https://github.com/mono/mono/commit/2e78f0c739840768d192fbc27c1cfec9dacd30e8 --- diff --git a/src/mono/mono/mini/aot-compiler.c b/src/mono/mono/mini/aot-compiler.c index 0909752..4cf6c8c 100644 --- a/src/mono/mono/mini/aot-compiler.c +++ b/src/mono/mono/mini/aot-compiler.c @@ -13378,7 +13378,7 @@ mono_compile_assembly (MonoAssembly *ass, guint32 opts, const char *aot_options, generate_aotid ((guint8*) &acfg->image->aotid); char *aotid = mono_guid_to_string (acfg->image->aotid); - if (!acfg->dedup_collect_only) + if (!acfg->dedup_collect_only && !acfg->aot_opts.deterministic) aot_printf (acfg, "AOTID %s\n", aotid); g_free (aotid);