2009-06-15 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / mini / ChangeLog
index afe1752e90eb0219d66e9d75e07f569e6494d35e..413f76f89a82efed515ac05215887c77ad487bbf 100644 (file)
@@ -1,3 +1,103 @@
+2009-06-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * exceptions-mips.c (mono_arch_get_throw_exception_by_name): Fix the
+       mips build.
+
+2009-06-13  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.h (struct MonoBasicBlock): Add 'has_jump_table' and 
+       'has_call_handler' fields.
+
+       * method-to-ir.c (mono_method_to_ir): Set them if needed.
+
+       * branch-opts.c (mono_merge_basic_blocks): Avoid iterating through the
+       first bblock if not needed. Fixes #512790.
+       
+2009-06-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c (mono_compile_assembly): Fix a warning.
+       
+       * aot-compiler.c (add_wrappers): Don't emit remoting-invoke-with-check
+       wrappers.
+
+       * aot-runtime.c (mono_aot_get_method): Use the original method's code for
+       remoting-invoke-with-check wrappers, which are not needed when running with
+       full-aot, since it doesn't support remoting.
+       
+2009-06-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c (emit_got_info): Don't emit offsets for the plt got entries.
+
+       * aot-compiler.c aot-runtime.c: Don't emit the first got offset in the
+       method info, it is not used anymore.
+
+       * mini.h: Bump AOT file format version.
+       
+       * aot-compiler.c (arch_emit_plt_entry): Make the arm plt entries one
+       word smaller.
+
+       * aot-runtime.c (mono_aot_get_plt_info_offset): Update after the
+       change above.
+       
+       * tramp-arm.c (mono_arch_patch_plt_entry): Ditto.
+
+       * mini.h: Bump AOT file format version.
+       
+2009-06-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * image-writer.c (asm_writer_emit_symbol_diff): Disable the 
+       TARGET_ASM_APPLE stuff for now, as it doesn't seem to work on the
+       iphone.
+
+       * mini-arm.c (mono_arch_output_basic_block): Fix the implementation
+       of CKFINITE and FBGE for VFP.
+
+2009-06-09  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c: Don't align code to 16 bytes on arm.
+       
+       * aot-compiler.c (emit_method_code): Emit the unbox trampolines right
+       before the methods they belong to.
+
+       * aot-runtime.c (mono_aot_plt_resolve): Avoid creating trampolines in
+       the full-aot case if possible, since the trampoline will be called right 
+       away.
+
+       * aot-compiler.c (mono_compile_assembly): Decrease the number of full aot
+       trampolines to 1024 after the change above.
+
+       * aot-compiler.c (arch_emit_specific_trampoline): Rework the arm
+       trampoline to save 8 bytes per trampoline.
+
+       * tramp-arm.c (mono_arch_create_trampoline_code_full): Update after the
+       change above.
+
+2009-06-08  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c: Use acfg->temp_prefix instead of .L to prefix labels.
+
+2009-06-08  Martin Baulig  <martin@ximian.com>
+
+       * debug-mini.c
+       (MonoDebuggerExceptionAction): Moved into debug-mini.h.
+       (_mono_debugger_throw_exception): Don't make this static.
+       (_mono_debugger_unhandled_exception): Likewise.
+       (mono_debugger_handle_exception): Moved to mini-exceptions.c
+
+       * debug-mini.c
+       (MonoDebuggerExceptionAction): Moved here from debug-mini.c.
+       (_mono_debugger_throw_exception): Add function prototype.
+       (_mono_debugger_unhandled_exception): Likewise.
+
+       * mini-exceptions.c
+       (mono_handle_exception_internal): Added `MonoJitInfo **out_ji'
+       arg; return the first exception handler if the exception is caught
+       and we're running inside the debugger.
+       (mono_debugger_handle_exception): Moved here from debug-mini.c;
+       improve exception handle inside runtime-invoke, check whether the
+       exception is actually caught in the method being invoked and not
+       by the runtime-invoke-wrapper.
+
 2009-06-08  Zoltan Varga  <vargaz@gmail.com>
 
        * image-writer.c: Improve support for the osx assembler.