Author: zoltan
Date: 2006-08-04 13:42:42 -0400 (Fri, 04 Aug 2006)
New Revision: 63365
Modified:
trunk/mono/mono/mini/ChangeLog
Log:
2006-08-04 Zoltan Varga <vargaz (AT) gmail (DOT) com>
* aot-compiler.c: Correct the computation of the 'direct-calls' statistic.
Modified: trunk/mono/mono/mini/ChangeLog
trunk/mono/mono/mini/ChangeLog2006-08-04 17:26:23 UTC (rev 63364)
trunk/mono/mono/mini/ChangeLog2006-08-04 17:42:42 UTC (rev 63365)
@@ -1,7 +1,9 @@
2006-08-04 Zoltan Varga <vargaz (AT) gmail (DOT) com>
+* aot-compiler.c: Correct the computation of the 'direct-calls' statistic.
+
* aot-compiler.c: Print the number of methods without GT slots as a statistics.
-
+
* aot-compiler.c aot-runtime.c tramp-amd64.c: Resurrect amd64 AT support.
* tramp-amd64.c (mono_arch_patch_callsite): Fix a warning.
Modified:
2006-08-04 17:26:23 UTC (rev 63364)
2006-08-04 17:42:42 UTC (rev 63365)
@@ -557,12 +557,13 @@
//printf ("DIRECT: %s %s\n", mono_method_full_name (cfg->method, TRUE), mono_method_full_name (callee_cfg->method, TRUE));
direct_call_target = g_strdup_printf (".Lm_%x", mono_metadata_token_index (callee_cfg->method->token));
patch_info->type = MNPATCH_INFNNE;
+acfg->stats.direct_calls ++;
}
}
+
+acfg->stats.all_calls ++;
}
-acfg->stats.all_calls ++;
-
if (!direct_call_target) {
plt_index = get_plt_index (acfg, patch_info);
if (plt_index != -1) {
@@ -581,7 +582,6 @@
#else
g_assert_not_reached ();
#endif
-acfg->stats.direct_calls ++;
} else {
got_slot = get_got_offset (acfg, patch_info);
@@ -1379,7 +1379,6 @@
break;
/* Fall through */
default:
-//printf ("A: %s\n", patch_types [patch_info->type]);
acfg->has_got_slots [method_idx] = TRUE;
break;
}
Mono-patches maillist - Mono-patches (AT) lists (DOT) ximian.com