#include <mono/metadata/exception.h>
#include <mono/metadata/gc-internal.h>
#include <mono/metadata/mono-debug.h>
+#include <mono/metadata/profiler.h>
#include "mini.h"
#include "trace.h"
}
}
}
+ if (!test_only)
+ if (mono_profiler_get_events () && MONO_PROFILE_ENTER_LEAVE)
+ mono_profiler_method_leave (ji->method);
}
*ctx = new_ctx;