[msvc] add new module
authorBernhard Urban <bernhard.urban@xamarin.com>
Tue, 5 Apr 2016 20:02:03 +0000 (13:02 -0700)
committerBernhard Urban <bernhard.urban@xamarin.com>
Tue, 5 Apr 2016 20:02:03 +0000 (13:02 -0700)
but only compile stubs on windows

mono/mini/cfgdump.c
msvc/libmono.vcxproj

index 868161bfee7fe4e3a04ed01a62ed991bf7de5bc4..af54417e82c16413786fbbef4d0098f765d64f9b 100644 (file)
@@ -7,6 +7,8 @@
 
 #include "mini.h"
 
+#if !defined(DISABLE_LOGGING) && !defined(DISABLE_JIT) && !defined(HOST_WIN32)
+
 #include <glib.h>
 #include <mono/metadata/class-internals.h>
 
@@ -44,7 +46,6 @@
 
 #endif
 
-#if !defined(DISABLE_LOGGING) && !defined(DISABLE_JIT)
 static ConstantPoolEntry*
 create_cp_entry (MonoCompile *cfg, void *data, pool_type pt)
 {
@@ -528,7 +529,7 @@ mono_cfg_dump_ir (MonoCompile *cfg, const char *phase_name)
        write_instructions (cfg, instruction_count);
        write_blocks (cfg);
 }
-#else /* !defined(DISABLE_LOGGING) && !defined(DISABLE_JIT) */
+#else /* !defined(DISABLE_LOGGING) && !defined(DISABLE_JIT) && !defined(HOST_WIN32) */
 void
 mono_cfg_dump_create_context (MonoCompile *cfg)
 {
@@ -548,4 +549,4 @@ void
 mono_cfg_dump_ir (MonoCompile *cfg, const char *phase_name)
 {
 }
-#endif /* !defined(DISABLE_LOGGING) && !defined(DISABLE_JIT) */
+#endif /* !defined(DISABLE_LOGGING) && !defined(DISABLE_JIT) && !defined(HOST_WIN32) */
index bcf1f7a7ab5ae07a4f706b54f8fb1166974ecc91..68a0ff55687fc5461ebddaa4d7ee5243583dc12e 100644 (file)
     <ClInclude Include="..\mono\mini\seq-points.h" />\r
     <ClInclude Include="..\mono\mini\version.h" />\r
     <ClInclude Include="..\mono\mini\optflags-def.h" />\r
+    <ClInclude Include="..\mono\mini\cfgdump.h" />\r
+    <ClCompile Include="..\mono\mini\cfgdump.c" />\r
     <ClInclude Include="..\mono\mini\jit-icalls.h " />\r
     <ClCompile Include="..\mono\mini\jit-icalls.c " />\r
     <ClCompile Include="..\mono\mini\seq-points.c" />\r