From f6dd0463bb256bd0635d003ac7b664995ef203e1 Mon Sep 17 00:00:00 2001 From: Vlad Brezae Date: Thu, 12 Sep 2019 14:25:45 +0300 Subject: [PATCH] [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 --- src/mono/mono/mini/interp/interp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4