[interp] Fix a copy/paste error in ea4e4a9ef6fc42570a23026adbe826cf7248290e.
authorAlex Rønne Petersen <alex@alexrp.com>
Tue, 25 Jul 2017 14:16:11 +0000 (16:16 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Jul 2017 14:16:11 +0000 (16:16 +0200)
mono/mini/interp/interp.c

index b9df34db6482d2248bbfb2efe05d8ebbebc84717..45bb8188f42c07c2447413f0219dbce350fac7a7 100644 (file)
@@ -192,7 +192,7 @@ debug_enter (MonoInvocation *frame, int *tracing)
                if (tracing == 3) global_tracing = 0; \
        }       \
        if (mono_profiler_should_instrument_method (frame->runtime_method->method, FALSE)) \
-               MONO_PROFILER_RAISE (method_enter, (frame->runtime_method->method));
+               MONO_PROFILER_RAISE (method_leave, (frame->runtime_method->method));
 
 #else