2010-01-18 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / mini / ChangeLog
old mode 100644 (file)
new mode 100755 (executable)
index be0e408..1eb816a
@@ -1,3 +1,162 @@
+2010-01-18  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mono_jit_compile_method_inner): Avoid reading cfg->prof_options
+       after cfg has been freed.
+
+2010-01-17  Zoltan Varga  <vargaz@gmail.com>
+
+       * branch-opts.c (mono_branch_optimize_exception_target): Stop the optimization
+       if a clause is skipped because it uses the exception object, since it could
+       have caught the exception.
+
+       * exceptions.cs: Add a test.
+
+2010-01-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-trampolines.c (mono_create_static_rgctx_trampoline): Add an assert.
+
+        * aot-runtime.c (mono_aot_get_method): Handle ftnptr's correctly for the
+        ICollection<T> wrappers.
+
+2010-01-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * debugger-agent.c (decode_value): Fix the decoding of I/U/PTR.
+
+2010-01-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-amd64.c (emit_call_body): Always use near calls when AOTing even if
+       NOMAP32BIT or optimize_for_xen is set.
+
+2010-01-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c aot-runtime.c: Get rid of mono_aot_str_hash (), use
+       mono_metadata_str_hash () instead.
+
+2010-01-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * ir-emit.h (MONO_EMIT_NEW_ICOMPARE_IMM): Use sizeof (mgreg_t) instead of
+       sizeof (void*).
+
+        * unwind.c (mono_unwind_frame): Use mgreg_t instead of gssize.
+
+2010-01-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * ir-emit.h (MONO_EMIT_NEW_CHECK_THIS): Emit an explicit null check if the
+       flag is set.
+
+       * mini-ppc.c (mono_arch_emit_exceptions): Compute the size of the exception
+       throwing code correctly.
+
+       * mini.h (MONO_AOT_FILE_VERSION): Bump this because of the IMT hashing changes.
+
+2010-01-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-runtime.c (mono_aot_plt_resolve): Reenable the previous assert for
+       ftnptrs created by us, handle RGCTX_FETCH correctly.
+       (mono_aot_get_lazy_fetch_trampoline): Add an ftnptr.
+
+       * mini-trampolines.c (mono_create_generic_class_init_trampoline): Remove the
+       ftnptr added by mono_aot_get_named_code ().
+
+2010-01-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-arm.c: Fix a few LLVM problems.
+
+       * mini-llvm.c (simd_class_to_llvm_type): Fix compilation on !x86/amd64.
+
+2010-01-13  Mark Probst  <mark.probst@gmail.com>
+
+       * method-to-ir.c (mini_emit_stobj): Use EMIT_NEW_CLASSCONST when
+       AOT compiling.
+
+Wed Jan 13 15:54:53 CET 2010 Paolo Molaro <lupus@ximian.com>
+
+       * jit.h, method-to-ir.c: added ability to set the policy for
+       inserting breakpoints from the break IL instruction or the
+       Debugger.Break () API call.
+
+2010-01-13  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-runtime.c (load_aot_module): Add more comments to explain why referenced
+       assemblies need to be eagerly loaded.
+
+2010-01-12  Zoltan Varga  <vargaz@gmail.com>
+
+       * dwarfwriter.c (emit_line_number_info): Fix the eglib case so it doesn't crash.
+
+2010-01-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * debugger-agent.c (mono_debugger_agent_parse_options): Allow onthrow without
+       an argument which matches any exception.
+
+2010-01-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * method-to-ir.c (mono_emit_method_call_full): Avoid the virt->nonvirt
+       optimization if the called method is gshared and marshalbyref, since gshared
+       methods can' have wrappers. Fixes #569390.
+
+       * generics.cs: Add a test.
+
+2010-01-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-exceptions.c (mono_print_thread_dump_from_ctx): New helper function
+       callable from gdb.
+
+2010-01-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mono_print_method_from_ip): Fix the lookup of trampolines.
+
+2010-01-09  Zoltan Varga  <vargaz@gmail.com>
+
+       * debugger-agent.c (transport_connect): comment out freeaddrinfo calls under win32,
+       since it is not supported in win2000.
+
+2010-01-08  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-runtime.c (load_image): Add a SET_ERROR argument to set the loader
+       error if loading an assembly fails.
+       (mono_aot_plt_resolve): Return NULL instead of asserting if loading fails.
+
+       * mini-trampolines.c (mono_aot_plt_trampoline): Throw a pending loader error
+       if exists.
+
+       * aot-runtime.c (decode_exception_debug_info): Set jinfo->from_llvm for LLVM
+       compiled methods.
+
+       * mini-llvm-cpp.cpp: Remove the unused ctx variable.
+
+       * mini-llvm.c (mono_llvm_emit_method): Add some comments about why aot+clauses
+       is not supported yet.
+
+       * unwind.c (DW_EH_PE_absptr): Add more DW_EH_PE_ constants.
+
+2010-01-07  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * method-to-ir.c: All types with variant arguments must fallback to the
+       slow path. This makes cast of variant delegates work.
+
+       * mini-trampolines.c (mono_get_vcall_slot_addr): Add new variance_used out
+       argument that is set to TRUE is the returned vtable slot is for a variant
+       interface. Changed a g_print + g_assert_not_reached to a g_error.
+
+       * mini-trampilines.c (common_call_trampoline): Handle variant interfaces in
+       a similar fashion of generic virtual methods.
+
+2010-01-07  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * helpers.c (mono_disassemble_code): Fix a g_hash_table warning
+       when cfg is null.
+
+       * mini-trampolines.c (mono_convert_imt_slot_to_vtable_slot): Convert a given
+       method using a variance aware function.
+
+       * mini-x86.c: Add support for dumping IMT thunks if DEBUG_IMT is defined.
+
+2010-01-07  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * method-to-ir.c (mono_method_to_ir): Casts to variant interfaces
+       do an icall for now.
+
 2010-01-07  Zoltan Varga  <vargaz@gmail.com>
 
        * mini-llvm-cpp.cpp (mono_llvm_create_ee): Add an ugly hack to fix #564695.