This makes constructs such as "if (!mono_profiler_get_call_instrumentation_flags(methos))"
correct. See mono_method_check_inlining()
typedef enum {
/* Do not instrument calls. */
typedef enum {
/* Do not instrument calls. */
- MONO_PROFILER_CALL_INSTRUMENTATION_NONE = 1 << 0,
+ MONO_PROFILER_CALL_INSTRUMENTATION_NONE = 0,
/* Instrument method prologues. */
MONO_PROFILER_CALL_INSTRUMENTATION_PROLOGUE = 1 << 1,
/* Also capture a call context for prologues. */
/* Instrument method prologues. */
MONO_PROFILER_CALL_INSTRUMENTATION_PROLOGUE = 1 << 1,
/* Also capture a call context for prologues. */