projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[sdb] Keep the exception object alive during debugger suspensions. Fixes #12494.
[mono.git]
/
mono
/
mini
/
helpers.c
diff --git
a/mono/mini/helpers.c
b/mono/mini/helpers.c
index 114a8db3d30a425055eb79a786d964d6b0970653..d945a39b8f2e4e900c08968e3465ee390e17c6bb 100644
(file)
--- a/
mono/mini/helpers.c
+++ b/
mono/mini/helpers.c
@@
-6,8
+6,6
@@
#include <config.h>
#include <config.h>
-#ifndef DISABLE_JIT
-
#include "mini.h"
#include <ctype.h>
#include <mono/metadata/opcodes.h>
#include "mini.h"
#include <ctype.h>
#include <mono/metadata/opcodes.h>
@@
-16,6
+14,8
@@
#include <unistd.h>
#endif
#include <unistd.h>
#endif
+#ifndef DISABLE_JIT
+
#ifndef DISABLE_LOGGING
#ifdef MINI_OP
#ifndef DISABLE_LOGGING
#ifdef MINI_OP
@@
-130,6
+130,9
@@
mono_blockset_print (MonoCompile *cfg, MonoBitSet *set, const char *name, guint
void
mono_disassemble_code (MonoCompile *cfg, guint8 *code, int size, char *id)
{
void
mono_disassemble_code (MonoCompile *cfg, guint8 *code, int size, char *id)
{
+#if defined(__native_client__)
+ return;
+#endif
#ifndef DISABLE_LOGGING
GHashTable *offset_to_bb_hash = NULL;
int i, cindex, bb_num;
#ifndef DISABLE_LOGGING
GHashTable *offset_to_bb_hash = NULL;
int i, cindex, bb_num;
@@
-282,4
+285,11
@@
mono_disassemble_code (MonoCompile *cfg, guint8 *code, int size, char *id)
#endif
}
#endif
}
+#else /* DISABLE_JIT */
+
+void
+mono_blockset_print (MonoCompile *cfg, MonoBitSet *set, const char *name, guint idom)
+{
+}
+
#endif /* DISABLE_JIT */
#endif /* DISABLE_JIT */