2009-12-03 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / mini / ChangeLog
index 95fab15ac5a63c3a14c3733c16c3f76b0ea1b9a1..ea55855dfb13d42c65408bd3b70a98e621869819 100644 (file)
@@ -1,3 +1,137 @@
+2009-12-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mini_method_compile): Call handle_exception_clauses () in the same
+       place it was called before too.
+
+2009-12-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mono_jit_runtime_invoke): Avoid the call to mono_class_setup_vtable ()
+       if no security manager is present, to speed up the AOT case. Call
+       mono_class_vtable () full with raise_on_error == TRUE instead.
+
+2009-12-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mini_method_compile): Call handle_exception_clauses earlier so
+       the local optimization passes can take its result into account. Fixes
+       #559876.
+
+       * exceptions.cs: Add a test.
+
+2009-01-24  Steven Munroe  <munroesj@us.ibm.com>
+
+       This patch is contributed under the terms of the MIT/X11 license
+
+        * cpu-ppc64.md (load_memindex): Add loadi8_memindex.
+
+2009-12-03  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.h (MonoInst): Remove unused 'ssa_op' field.
+
+       * debugger-agent.c: Rework the handling of stack traces of running threads to
+       avoid crashes if compute_frames () tries to walk the stack of running thread.
+
+       * mini.c (mono_print_method_from_ip): Use mini_jit_info_table_find.
+
+       * mini-exceptions.c (mono_jit_walk_stack_from_ctx_in_thread): Set frame->lmf.
+
+       * mini.h (StackFrameInfo): Add an 'lmf' field.
+
+2009-12-02  Zoltan Varga  <vargaz@gmail.com>
+
+       * debugger-agent.c (suspend_current): Always set really_suspended.
+
+       * debugger-agent.c (clear_event_request): Clear method entry/exit requests too.
+
+       * exceptions-x86.c (mono_arch_get_restore_context): Restore EAX too.
+
+2009-12-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * debugger-agent.c (vm_commands): Don't allow invokes on threads which are not
+       really suspended.
+
+2009-12-01  Zoltan Varga  <vargaz@gmail.com>
+
+       * cpu-ppc64.md (store_memindex): Add storei8_memindex.
+
+2009-12-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * mini-trampolines.c: Fix MSVC build.
+
+2009-12-01 Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * mini-trampolines.c: Check for mono_method_get_vtable_slot failures.
+
+2009-11-30  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-arm.c (mono_arch_lowering_pass): Fix an assert which is hit when
+       the instruction following an OP_FCOMPARE is optimized away.
+
+2009-11-30  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c (arch_emit_autoreg): Extract the auto-registration code from
+       emit_autoreg () into this arch-specific function.
+
+       * aot-compiler.c (emit_exception_debug_info): Don't emit the length of the
+       code, it is no longer needed.
+
+       * aot-runtime.c (decode_exception_debug_info): Don't read the code length.
+
+       * mini.h: Bump AOT file format version.
+
+       * aot-runtime.c (mono_aot_find_jit_info): Compute the length of the method
+       using the sorted_code_offsets array, instead of reading it from the
+       exception debug info.
+       (load_method): Call mono_aot_find_jit_info instead of
+       decode_exception_debug_info ().
+
+       * aot-compiler.c (emit_exception_debug_info): Emit whenever the method was
+       LLVM compiled as a flag.
+
+2009-11-29  Zoltan Varga  <vargaz@gmail.com>
+
+       * debugger-agent.c (resume_thread): Fix a warning.
+
+       * aot-compiler.c: Add an option to set the number of static rgctx trampolines
+       generated.
+
+2009-11-28  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c aot-runtime.c: Get rid of a few global symbols, move their
+       contents to MonoAotFileInfo.
+
+2009-11-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c aot-runtime.c: Reorganize the AOT file format once again.
+       Put all binary data into a giant blob, similarly to the way .net assemblies
+       store binary data. Emit offset tables in a compact form to reduce their size.
+
+       * mini.h: Bump AOT file format version.
+
+       * aot-compiler.c (emit_globals_table): Use temp_prefix instead of .L in a few
+       places.
+
+       * aot-compiler.c (emit_globals_table): Emit a hash table for the globals, to
+       avoid linear searches at runtime.
+
+       * aot-runtime.c (find_symbol): Update this to use the hash.
+
+       * mini.h: Bump AOT file format version.
+
+2009-11-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c (emit_klass_info): Save whenever the class has a generic
+       container.
+
+       * aot-runtime.c (decode_cached_class_info): Set the is_generic_container field
+       too.
+
+       * aot-compiler.c (mono_compile_assembly): Add a 'stats' option to print out
+       the distribution of got slot types.
+
+       * mini.h (MonoDebugOptions): Add 'explicit_null_checks' option.
+
+       * method-to-ir.c: Add support for generating explicit null checks.
+
 2009-11-25  Zoltan Varga  <vargaz@gmail.com>
 
        * debugger-agent.c (vm_commands): Implement EXIT by invoking Environment.Exit ()