2008-06-30 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / mini / ChangeLog
index 213b93f74af8fc0e4c8e7f2f1c3573e210eeb8a5..d3cb8782900cdef8f95c2b0b77e69fcaa8b42fcf 100644 (file)
@@ -1,3 +1,183 @@
+2008-06-30  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c: Use domain->jit_code_hash_lock for controlling access to
+       domain->jit_code_hash.
+
+2008-06-29  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (mini_parse_debug_options): Add 'dont-free-domains' option.
+
+2008-06-27  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-trampolines.c (mono_delegate_trampoline): Don't pass a gsctx to
+       get_this_arg_from_call, let it compute it when needed.
+
+       * mini-amd64.c (mono_arch_get_this_arg_reg): Add a 'code' argument, compute
+       gsctx from code only when needed.
+
+       * mini-trampolines.c (get_generic_context): Rename this to 
+       mono_get_generic_context_from_code (), and move it to generic-sharing.c, where
+       it can be called by the arch backends.
+
+       * mini-exceptions.c (mono_print_thread_dump): Allow the argument to be NULL.
+
+2008-06-26  Zoltan Varga  <vargaz@gmail.com>
+
+       * driver.c (mono_main): Add experimental --aot-only command line option.
+
+       * mini.c: Error out when creating trampolines or JIT compiling if --aot-only is
+       set.
+
+2008-06-26  Kornél Pál  <kornelpal@gmail.com>
+
+       * driver.c (DllMain): Remove mono_module_handle.
+
+       Contributed under MIT/X11 license.
+
+2008-06-25  Zoltan Varga  <vargaz@gmail.com>
+
+       * aot-compiler.c: Add not-yet-usable 'full' option. Add some infrastructure code
+       for emitting methods which are not in the source assembly. Detect and report
+       failure of assembling+linking.
+       
+       * aot-compiler.c (emit_klass_info): Call mono_class_setup_vtable ().
+
+       * aot-compiler.c: Move the contents of the has_glot_slots array to MonoCompile.
+
+2008-06-24  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * mini.c: Check if stats is enabled so we don't allocate memory when not needed.
+
+2008-06-24  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.h: Remove some obsolete prototypes.
+
+       * mini.c: Avoid storing MonoMethod pointers in the JIT stats, store their string format instead.
+
+2008-06-24  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.c (get_object_generic_inst): Variable-sized arrays are not
+       supported by Visual Studio, so use alloca().
+
+2008-06-23  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-ia64.c (add_valuetype): Increase *gr too when passing a HFA to be in sync with the ABi.
+       Fixes #402585.
+
+2008-06-23  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.c: Fail sharing of a generic method if it contains an open
+       catch clause (because we don't pass MRGCTXs yet).
+
+2008-06-23  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.c: When compiling a method with generic sharing, insert the
+       method instantiated with an all-Object generic context into the
+       jit info table, instead of the context of the first instantiation
+       of the method we happen to compile.
+
+2008-06-18  Martin Baulig  <martin@ximian.com>
+
+       * debug-debugger.h (MonoDebuggerInfo): Replaced `version' with
+       `major_version' and `minor_version'.
+
+2008-06-17  Mark Probst  <mark.probst@gmail.com>
+
+       * generic-sharing.c, mini.c, mini.h, aot-runtime.c:
+       mono_method_is_generic_sharable_impl() takes an additional
+       argument specifying whether to treat type variables as reference
+       types.
+
+2008-06-17  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.h: Removed obsolete prototypes.
+
+2008-06-17  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.c: Don't fail generic sharing for initobj and sizeof - we
+       already handle them.
+
+2008-06-17  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.h, mini-trampolines.c, tramp-alpha.c, tramp-amd64.c,
+       tramp-arm.c, tramp-hppa.c, tramp-ia64.c, tramp-mips.c,
+       tramp-ppc.c, tramp-s390.c, tramp-s390x.c, tramp-sparc.c,
+       tramp-x86.c: Added a MonoGenericContext* argument to
+       mono_arch_get_unbox_trampoline() so that it can call other
+       functions which require it.
+
+2008-06-17  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.h, mini-trampolines.c, mini-amd64.c, mini-x86.c,
+       mini-alpha.c, mini-arm.c, mini-ia64.c, mini-ppc.c:
+       mono_arch_get_this_arg_from_call() takes a
+       MonoGenericSharingContext* as well.
+
+2008-06-17  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.c: Factor out code for emitting unbox into emit_unbox() and
+       implement generic sharing of unbox.
+
+2008-06-17  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.c: Don't compute the vtable to determine whether a field is
+       special static, because it might not work for open types.
+
+2008-06-17  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.c: Removed the unused token_type and token_source arguments
+       from get_runtime_generic_context_ptr().
+
+2008-06-17  Marek Habersack  <mhabersack@novell.com>
+
+       * mini.c (ADD_BINOP): fix the build
+
+2008-06-16  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c (ADD_BINOP): When operating on a native int and an int32, insert
+       a widening op.
+
+2008-06-16  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.h: Removed class relations enum that's not used anymore.
+
+2008-06-16  Mark Probst  <mark.probst@gmail.com>
+
+       * tramp-x86.c, tramp-amd64.c: Slot access code for MRGCTXs.
+
+       * mini-trampolines.c: Distinguish between RGCTXs and MRGCTXs in
+       the lazy fetch trampoline access code.
+
+2008-06-15  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-codegen.c (mono_local_regalloc): Add some micro optimizations.
+
+2008-06-14  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini.c: Fix some soft-float bugs. Fixes #378735 and #398348.
+
+       * mini.h (MONO_INST_LIST_ENTRY): Fix warnings on arm.
+
+       * mini.c (mono_method_to_ir): Check call signature for NEWOBJ as well.
+
+2008-06-13  Zoltan Varga  <vargaz@gmail.com>
+
+       * mini-x86.c inssel-x86.brg cpu-x86.md: Implement unsigned min/max
+       intrinsics.
+
+       * mini-ops.h: Add MIN/MAX_UN opcodes.
+
+       * mini-amd64.c inssel-amd64.brg cpu-amd64.md: Implement unsigned min/max
+       intrinsics.
+
+       * basic-math.cs: Add more min/max tests.
+
+       * inssel.brg: Remove the OP_MIN/OP_MAX rules. Fix a warning.
+
+2008-06-13  Mark Probst  <mark.probst@gmail.com>
+
+       * mini.c: Small fix in the prologue of emit_castclass.
+
 2008-06-13  Zoltan Varga  <vargaz@gmail.com>
 
        * inssel.brg: Remove the OP_MIN/OP_MAX rules. Fix a warning.