From: Vlad Brezae Date: Thu, 12 Sep 2019 11:25:45 +0000 (+0300) Subject: [interp] Disable computed goto when debugging interp X-Git-Tag: submit/tizen/20210909.063632~10331^2~5^2~514 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f6dd0463bb256bd0635d003ac7b664995ef203e1;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [interp] Disable computed goto when debugging interp It makes tracing and following the code more painful. Commit migrated from https://github.com/mono/mono/commit/6d75b066eebbc98331edfcfcbca38016adafc009 --- diff --git a/src/mono/mono/mini/interp/interp.c b/src/mono/mono/mini/interp/interp.c index 0638453..28ad6b8 100644 --- a/src/mono/mono/mini/interp/interp.c +++ b/src/mono/mono/mini/interp/interp.c @@ -207,7 +207,7 @@ int mono_interp_traceopt = 0; #endif -#if defined(__GNUC__) && !defined(TARGET_WASM) && !COUNT_OPS +#if defined(__GNUC__) && !defined(TARGET_WASM) && !COUNT_OPS && !DEBUG_INTERP #define USE_COMPUTED_GOTO 1 #endif