2006-03-19 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / mini / ChangeLog
index bdfb4c33949959ca5dcd4262c8f8e96689e6d825..78cb7f97e0f7153fcb0e58ea22d6007f2fb742c3 100644 (file)
@@ -1,3 +1,252 @@
+2006-03-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mono_print_method_from_ip): Recognize JIT trampolines as well.
+       (can_access_internals): Fix a warning.
+
+       * mini.c (print_method_from_ip): Rename this to 
+       mono_print_method_from_ip so it gets exported.
+
+       * trace.c: Deal with strings inside StringBuilder's containing garbage
+       and fix memory leaks. Fixes #77848.
+
+2006-03-19  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mini_init): Disable the setting of GC_stackbottom on ia64. Hopefully
+       fixes #77787.
+
+2006-03-16 Neale Ferguson <neale@sinenomine.net>
+       
+       * mini-s390.c: Remove OP_X86_TEST_NULL.
+
+Thu Mar 16 17:19:04 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c: use the correct GetHashCode() for the moving collector.
+
+2006-03-16  Massimiliano Mantione  <massi@ximian.com>
+
+        * liveness.c: Regalloc spill cost tuning.
+
+2006-03-15 Neale Ferguson <neale@sinenomine.net>
+       
+       * mini-s390x.h: Correct S390_LONG macro.
+
+       * mini-s390x.c: Cleanup unused code.
+
+2006-03-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * jit-icalls.h: New file.
+
+       * Makefile.am mini.c jit-icalls.c: Use a proper include file for the jit
+       icalls and include that instead of including jit-icalls.c.
+
+       * mini-ppc.c (mono_arch_output_basic_block): Remove references to
+       OP_X86 opcodes.
+
+Tue Mar 14 20:23:53 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c: when checking for member accessibility, also check for
+       friend assemblies and for explicit interface implementations.
+
+2006-03-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-codegen.c (mono_local_regalloc): Remove incorrect g_free () calls.
+
+       * cpu-arm.md cpu-g4.md: Remove x86_ opcodes.
+
+       * mini-x86.h (MONO_ARCH_INST_FIXED_REG): Reorganize the comparisons so
+       common cases are done first.    
+
+       * mini-ops.h: Only define platform specific opcodes on the given platform.
+
+       * mini.h regalloc.h mini-codegen.c: Merge optimizations from the linear-il
+       branch.
+       
+2006-03-14  Martin Baulig  <martin@ximian.com>
+
+       Revert Paolo's change from r57348:
+
+       * mini.h: don't use gboolean for bitfields.
+       * mini.c: verifier changes for fields and methods accessibility.
+
+2006-03-13  Neale Ferguson <neale@sinenomine.net>
+
+       * mini-s390.h, mini-s390x.h: Fix calls to mono_call_inst_add_outarg_reg.
+
+       * mini-s390x.c: Fix conv_r_un.
+
+       * cpu-s390, cpu-s390x.md: Fix lengths.
+
+Sun Mar 12 17:31:22 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c: nested types have access to all the nesting
+       levels, not just the enclosing types.
+
+Sun Mar 12 16:23:11 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c: added a few more verification checks.
+
+2006-03-12  Zoltan Varga  <vargaz@gmail.com>
+
+       * liveness.c: Merge optimizations from the linear-il branch.
+
+2006-03-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-ia64.c (emit_call): Add a comment.
+
+       * tramp-ia64.c (mono_arch_patch_callsite): Handle indirect calls as well.
+
+       * tramp-ia64.c: Fix some warnings.
+
+Sat Mar 11 20:15:59 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.h: don't use gboolean for bitfields.
+       * mini.c: verifier changes for fields and methods accessibility.
+
+2006-03-11  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mono_icall_get_wrapper): Fix an ia64 bug introduced by the
+       lazy icall wrapper changes.
+
+       * dominators.c: Replace all the dominator algorithms with faster
+       ones from the linear-il branch.
+
+       * inssel-*.brg: Allocate call->out_ireg_args and call->out_freg_args from
+       the mempool.
+
+       * mini-amd64.h (MONO_ARCH_INST_FIXED_REG): Reorganize the comparisons so
+       common cases are done first.
+
+       * mini-amd64.c: Fix some warnings.
+
+       * mini-codegen.c mini-*.c: Allocate call->out_ireg_args and call->out_freg_args
+       from the mempool.
+
+       * mini.c (mono_jit_compile_method_with_opt): Fix a race in the newly
+       added code.
+
+       * mini.h: Add a missing prototype.
+
+2006-03-10  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c: Compile icall wrappers lazily.
+
+       * mini-codegen.c: Use printf instead of g_print since its much faster.
+
+       * mini.h (mono_bitset_foreach_bit): Use the faster mono_bitset_find_start ()
+       function.
+
+       * mini.c (optimize_branches): Cache the negative result from 
+       remove_block_if_useless ().
+
+       * mini.c (optimize_branches): Avoid restarting the iteration after each change. 
+       Also fix some bblock linking issues.
+
+       * helpers.c (mono_disassemble_code): Reduce the size of the temporary
+       assembly files.
+
+       * mini.h: Define G_LIKELY/G_UNLIKELY macros for older glib versions.
+
+       * mini.h (MonoBasicBlock): Reorganize the fields, putting more frequently
+       accessed fields first, for better cache behavior.
+       
+Fri Mar 10 18:21:41 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c: speedup IList<T> array accesses.
+
+2006-03-09  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mono_method_to_ir): Handle large methods overflowing the 
+       inline_costs counter. Fixes #77190.
+
+2006-03-06  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-exceptions.c: Call mono_trace_is_enabled () before printing
+       trace messages. Fixes #77706.
+
+2006-03-04  Martin Baulig  <martin@ximian.com>
+
+       * tramp-amd64.c, tramp-x86.c
+       (mono_debugger_create_notification_function): Use
+       mono_global_codeman_reserve() to allocate a buffer at runtime and
+       return it.
+
+       * debug-debugger.h (MonoDebuggerInfo): Added `initialize'.
+
+       * debug-debugger.c (mono_debugger_init): Dynamically allocate the
+       notification function at runtime and then call `initialize' in the
+       `MONO_DEBUGGER__debugger_info' vtable.
+
+2006-03-04  Zoltan Varga  <vargaz@gmail.com>
+
+       * iltests.il: Fix a visibility problem.
+
+Wed Mar 1 15:55:25 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * driver.c, mini.c: add hooks for the counters API.
+
+Wed Mar 1 12:28:04 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * driver.c: show disabled options.
+
+Wed Mar 1 12:18:51 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * linear-scan.c: always use cost-driven selection.
+
+2006-02-28  Raja R Harinath  <rharinath@novell.com>
+
+       * jit-icalls.c (helper_compile_generic_method): Revert change from
+       2006-02-24.
+
+Mon Feb 27 18:58:19 GMT 2006 Paolo Molaro <lupus@ximian.com>
+
+       * cpu-arm.md, mini-arm.c: implemented MemoryBarrier.
+
+Sat Feb 25 17:39:21 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * inssel.brg: style fixes, mostly to force the updated monoburg
+       to run for people using svn.
+
+Sat Feb 25 17:07:42 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c: match monoburg changes.
+
+Sat Feb 25 16:04:33 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.h, mini.c, abcremoval.c, aliasing.c, liveness.c,
+       ssapre.c, graph.c, ssa.c: put the mono_burg_arity[]
+       declaration in the header file.
+
+Sat Feb 25 14:19:31 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * helpers.c: reduce relocations and mem usage.
+
+Sat Feb 25 11:58:16 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.h, mini-codegen.c: disable logging features if
+       requested by configure.
+
+Sat Feb 25 11:54:49 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini.c: tiny verifier changes.
+
+Fri Feb 24 18:17:52 CET 2006 Paolo Molaro <lupus@ximian.com>
+
+       * mini-ops.h, inssel-x86.brg, tramp-x86.c, mini-x86.c,
+       cpu-pentium.md: stack alignment changes for osx/x86,
+       partially from Geoff Norton <gnorton@customerdna.com>.
+
+2006-02-24  Raja R Harinath  <harinath@gmail.com>
+
+       * jit-icalls.c (helper_compile_generic_method): Update to changes
+       in metadata/class.c.
+
+2006-02-24  Zoltan Varga  <vargaz@gmail.com>
+       
+       * mini-amd64.c (mono_arch_get_vcall_slot_addr): Add a missing check.
+       
+       * mini-amd64.c (mono_arch_get_vcall_slot_addr): Add support for
+       interface calls with large offsets.
+
 2006-02-23  Raja R Harinath  <rharinath@novell.com>
 
        * jit-icalls.c (helper_compile_generic_method): Document the