MonoObject *o = NULL;
MonoClass *c;
#if USE_COMPUTED_GOTO
- static void *in_labels[] = {
-#define OPDEF(a,b,c,d) \
- &&LAB_ ## a,
+ static void * const in_labels[] = {
+#define OPDEF(a,b,c,d) &&LAB_ ## a,
#include "mintops.def"
- 0 };
+ };
#endif
frame->ex = NULL;
#include <stdio.h>
#include "mintops.h"
-#define OPDEF(a,b,c,d) \
- b,
-const char *mono_interp_opname[] = {
+#define OPDEF(a,b,c,d) b,
+const char * const mono_interp_opname [] = {
#include "mintops.def"
- ""
};
#undef OPDEF
-#define OPDEF(a,b,c,d) \
- c,
-unsigned char mono_interp_oplen[] = {
+#define OPDEF(a,b,c,d) c,
+unsigned char const mono_interp_oplen [] = {
#include "mintops.def"
- 0
};
#undef OPDEF
-#define OPDEF(a,b,c,d) \
- d,
-MintOpArgType mono_interp_opargtype[] = {
+#define OPDEF(a,b,c,d) d,
+MintOpArgType const mono_interp_opargtype [] = {
#include "mintops.def"
- (MintOpArgType)0
};
#undef OPDEF
MintOpShortAndInt
} MintOpArgType;
-#define OPDEF(a,b,c,d) \
- a,
+#define OPDEF(a,b,c,d) a,
enum {
#include "mintops.def"
- MINT_LASTOP
};
#undef OPDEF
#define MINT_SWITCH_LEN(n) (3 + (n) * 2)
-extern const char *mono_interp_opname[];
-extern unsigned char mono_interp_oplen[];
-extern MintOpArgType mono_interp_opargtype[];
+extern const char * const mono_interp_opname[];
+extern unsigned char const mono_interp_oplen[];
+extern MintOpArgType const mono_interp_opargtype[];
extern char* mono_interp_dis_mintop(const unsigned short *base, const guint16 *ip);
extern const guint16* mono_interp_dis_mintop_len (const guint16 *ip);