Skip to content

Commit

Permalink
add disabled debug printf
Browse files Browse the repository at this point in the history
  • Loading branch information
lambdageek committed Jan 4, 2021
1 parent 72682b2 commit 675e752
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/mono/mono/mini/method-to-ir.c
Original file line number Diff line number Diff line change
Expand Up @@ -7075,6 +7075,9 @@ mono_method_to_ir (MonoCompile *cfg, MonoMethod *method, MonoBasicBlock *start_b
* skip_gc_trans to TRUE*/
gboolean skip_gc_trans = FALSE;
if (!skip_gc_trans) {
#if 0
fprintf (stderr, "generating wrapper for calli in method %s with wrapper type %s\n", method->name, mono_wrapper_type_to_str (method->wrapper_type));
#endif
/* Call the wrapper that will do the GC transition instead */
MonoMethod *wrapper = mono_marshal_get_native_func_wrapper_indirect (method->klass, fsig, cfg->compile_aot);
/* box the indirect function ptr */
Expand Down

0 comments on commit 675e752

Please sign in to comment.