projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4da9d98
)
Consider debug levels less than zero disabled (#40429)
author
Larry Ewing
<lewing@microsoft.com>
Thu, 6 Aug 2020 02:28:31 +0000
(21:28 -0500)
committer
GitHub
<noreply@github.com>
Thu, 6 Aug 2020 02:28:31 +0000
(21:28 -0500)
src/mono/wasm/runtime/driver.c
patch
|
blob
|
history
diff --git
a/src/mono/wasm/runtime/driver.c
b/src/mono/wasm/runtime/driver.c
index
0400c39
..
971cd57
100644
(file)
--- a/
src/mono/wasm/runtime/driver.c
+++ b/
src/mono/wasm/runtime/driver.c
@@
-386,7
+386,7
@@
mono_wasm_load_runtime (const char *unused, int enable_debugging)
#endif
#else
mono_jit_set_aot_mode (MONO_AOT_MODE_INTERP_ONLY);
- if (enable_debugging) {
+ if (enable_debugging
> 0
) {
// Disable optimizations which interfere with debugging
interp_opts = "-all";
mono_wasm_enable_debugging (enable_debugging);