X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fmini%2Fgenmdesc.c;h=60ff683a9af013b5e752fba402e179e89eb425d5;hb=a04f104093e6de8a34aa66c806e36cad188e18e6;hp=7118e19c8cec06cd9fb7588d5e7c89f2e9564706;hpb=56ad8f4e5dfb8198e4671f631a3103b1e8b83dd3;p=mono.git diff --git a/mono/mini/genmdesc.c b/mono/mini/genmdesc.c index 7118e19c8ce..60ff683a9af 100644 --- a/mono/mini/genmdesc.c +++ b/mono/mini/genmdesc.c @@ -1,5 +1,6 @@ -/* - * genmdesc: Generates the machine description +/** + * \file + * Generates the machine description * * Authors: * Paolo Molaro (lupus@ximian.com) @@ -11,11 +12,6 @@ #include #include -#if defined(__native_client__) || defined(__native_client_codegen__) -volatile int __nacl_thread_suspension_needed = 0; -void __nacl_suspend_thread_if_needed() {} -#endif - #define MINI_OP(a,b,dest,src1,src2) b, #define MINI_OP3(a,b,dest,src1,src2,src3) b, /* keep in sync with the enum in mini.h */ @@ -203,6 +199,7 @@ load_file (const char *name) { if (is_template && !desc->name) g_error ("Template without name at line %d in %s\n", line, name); } + g_string_free (comment,TRUE); fclose (f); return 0; }