Merged revisions 7732-7765 via svnmerge from
authormichi <none@none>
Thu, 19 Apr 2007 13:24:48 +0000 (13:24 +0000)
committermichi <none@none>
Thu, 19 Apr 2007 13:24:48 +0000 (13:24 +0000)
commit207cd689f8776540388318f35a61d5707c58a607
tree60a731c95b82633873b72bc1d4ae40ac3a2a2165
parent38ab770664d32f9f20f2a5ef22e6dc6ca594aa78
Merged revisions 7732-7765 via svnmerge from
svn+ssh://michi@c1.complang.tuwien.ac.at/ahome/cacao/svn/cacao/trunk

........
  r7733 | twisti | 2007-04-17 00:56:37 +0200 (Tue, 17 Apr 2007) | 3 lines

  * src/vm/jit/x86_64/codegen.c (codegen_emit): Made argument passing
  cleaner.
........
  r7734 | twisti | 2007-04-17 13:15:15 +0200 (Tue, 17 Apr 2007) | 3 lines

  * src/vm/jit/x86_64/codegen.c (codegen_emit_stub_native): Use simpler
  code to save and restore argument registers.
........
  r7735 | edwin | 2007-04-17 20:47:50 +0200 (Tue, 17 Apr 2007) | 3 lines

  * src/vm/jit/parse.c (parse): Small cleanup of local variable renaming.
  (No code changes.)
........
  r7736 | edwin | 2007-04-17 21:24:05 +0200 (Tue, 17 Apr 2007) | 5 lines

  * src/vm/jit/stack.c (stack_analyse): The javalocals array can have
  negative values != UNUSED (these values < UNUSED represent
  returnAddresses of local subroutines). Thus >= 0 must be used to
  check for normal indices.
........
  r7737 | edwin | 2007-04-17 21:57:55 +0200 (Tue, 17 Apr 2007) | 2 lines

  * src/vm/jit/stack.c (stack_javalocals_store): Added an assert.
........
  r7738 | edwin | 2007-04-17 22:06:44 +0200 (Tue, 17 Apr 2007) | 2 lines

  * src/vm/jit/jit.h (jitdata): Cleaned up comments for local_map.
........
  r7739 | twisti | 2007-04-17 22:17:01 +0200 (Tue, 17 Apr 2007) | 10 lines

  * src/threads/threads-common.c (threads_print_stacktrace): Renamed to
  threads_thread_print_stacktrace.
  (threads_print_stacktrace): New function.
  (threads_dump): Use threads_thread_print_stacktrace.

  * src/threads/threads-common.h: Likewise.

  * src/vm/jit/codegen-common.c (codegen_get_pv_from_pc): Use new
  threads_print_stacktrace.
........
  r7740 | twisti | 2007-04-17 22:25:55 +0200 (Tue, 17 Apr 2007) | 4 lines

  * src/threads/native/threads.c (threads_init): Fixed string-internal
  warnings.
  (threads_attach_current_thread): Likewise.
........
  r7741 | edwin | 2007-04-17 22:30:09 +0200 (Tue, 17 Apr 2007) | 4 lines

  * src/vm/jit/jit.h (basicblock): Document the javalocal array.
  (JAVALOCAL_FROM_RETADDR): New macro.
  (RETADDR_FROM_JAVALOCAL): Likewise.
........
  r7742 | edwin | 2007-04-17 22:37:36 +0200 (Tue, 17 Apr 2007) | 4 lines

  * src/vm/jit/stack.c, src/vm/jit/show.c, src/vm/jit/inline/inline.c,
  src/vm/jit/replace.c, src/vm/jit/jit.h: Fix and use the new macros
  for calculating javalocals values representing returnAddresses.
........
  r7743 | edwin | 2007-04-17 22:53:41 +0200 (Tue, 17 Apr 2007) | 6 lines

  * src/vm/jit/stack.c, src/vm/jit/verify/typecheck-common.c,
  src/vm/jit/verify/typeinfo.c, src/vm/jit/inline/inline.c,
  src/vm/jit/allocator/simplereg.c: Clarification: Renamed variables
  that are indices into jd->var to "varindex". Renamed variables that
  are bytecode variable indices to "javaindex".
........
  r7744 | twisti | 2007-04-17 22:54:04 +0200 (Tue, 17 Apr 2007) | 2 lines

  * tests/regression/jasmin/Makefile.am (check): Set LD_LIBRARY_PATH.
........
  r7745 | twisti | 2007-04-17 22:59:52 +0200 (Tue, 17 Apr 2007) | 3 lines

  * src/vm/builtintable.inc (builtintable_function) [ENABLE_JIT]: We
  need the entries only for JIT.
........
  r7746 | edwin | 2007-04-17 23:01:15 +0200 (Tue, 17 Apr 2007) | 2 lines

  * src/vm/jit/verify/typecheck.c: More variable renaming for clarity.
........
  r7747 | edwin | 2007-04-17 23:11:20 +0200 (Tue, 17 Apr 2007) | 3 lines

  * src/vm/jit/stack.c (stack_reanalyse_block, stack_analyse): Renamed
  variable "j" to a more obvious "varindex".
........
  r7748 | edwin | 2007-04-17 23:25:55 +0200 (Tue, 17 Apr 2007) | 3 lines

  * src/vm/jit/stack.c (stack_analyse): Do not abuse poor "i" for types,
  use a separate variable for that.
........
  r7749 | edwin | 2007-04-17 23:30:20 +0200 (Tue, 17 Apr 2007) | 4 lines

  * src/vm/jit/stack.c (stack_init_javalocals): Use "type" as variable
  for the type.
  (stack_analyse): Likewise.
........
  r7750 | twisti | 2007-04-17 23:37:12 +0200 (Tue, 17 Apr 2007) | 3 lines

  * tests/regression/resolving/Makefile.am (check): Use LD_LIBRARY_PATH
  for JAVA.
........
  r7751 | twisti | 2007-04-18 00:06:01 +0200 (Wed, 18 Apr 2007) | 3 lines

  * src/vm/jit/alpha/codegen.c (codegen_emit): Fixed bug in
  float-argument passing.
........
  r7752 | twisti | 2007-04-18 00:50:49 +0200 (Wed, 18 Apr 2007) | 2 lines

  * src/vm/jit/m68k/codegen.c: Boilerplate added.
........
  r7753 | twisti | 2007-04-18 00:55:21 +0200 (Wed, 18 Apr 2007) | 2 lines

  * src/vm/jit/m68k/emit.c: boilerplate added.
........
  r7754 | twisti | 2007-04-18 01:18:15 +0200 (Wed, 18 Apr 2007) | 23 lines

  * src/vm/jit/emit-common.h (emit_copy): Changed signature.

  * src/vm/jit/alpha/codegen.c,
  src/vm/jit/alpha/emit.c,
  src/vm/jit/arm/codegen.c,
  src/vm/jit/arm/emit.c,
  src/vm/jit/i386/codegen.c,
  src/vm/jit/i386/emit.c,
  src/vm/jit/m68k/codegen.c,
  src/vm/jit/m68k/emit.c,
  src/vm/jit/mips/codegen.c,
  src/vm/jit/mips/emit.c,
  src/vm/jit/powerpc/codegen.c,
  src/vm/jit/powerpc/emit.c,
  src/vm/jit/powerpc64/codegen.c,
  src/vm/jit/powerpc64/emit.c,
  src/vm/jit/s390/codegen.c,
  src/vm/jit/s390/emit.c,
  src/vm/jit/sparc64/codegen.c,
  src/vm/jit/sparc64/emit.c,
  src/vm/jit/x86_64/codegen.c,
  src/vm/jit/x86_64/emit.c: Likewise.
........
  r7755 | twisti | 2007-04-18 11:59:58 +0200 (Wed, 18 Apr 2007) | 3 lines

  * src/native/vm/java_lang_ClassLoader.c [ENABLE_STATISTICS]
  (vmcore/statistics.h): Added.
........
  r7756 | twisti | 2007-04-18 16:11:56 +0200 (Wed, 18 Apr 2007) | 12 lines

  * src/threads/native/threads.c (mutex_join, cond_join): Added.
  (threads_init_threadobject): Don't initalize join-mutex and cond.
  (threads_preinit): Initialize mutex_join and cond_join.
  (threads_startup_thread): Added vm_abort.
  (threads_detach_thread): Don't reset thread id and use global mutex
  and condition.
  (threads_find_non_daemon_thread): Lock thread list.
  (threads_join_all_threads): Use global mutex and condition.

  * src/threads/native/threads.h (threadobject): Removed joinmutex and
  joincond.
........
  r7757 | tbfg | 2007-04-18 16:49:18 +0200 (Wed, 18 Apr 2007) | 6 lines

  * src/vm/jit/powerpc64/codegen.c (sign_ext): Removed from
  ICMD_INEG, ICMD_IDIV, ICMD_IREM, ICMD_IMUL, ICMD_IAND and ICMD_IOR
  to save the if runtime costs.

  (ICMD_IUSHR): Needs sign extension for 0 bit shift case.
........
  r7758 | michi | 2007-04-18 17:31:07 +0200 (Wed, 18 Apr 2007) | 3 lines

  * src/vm/jit/powerpc64/linux/Makefile.am (AM_CPPFLAGS): Added
  -I$(top_builddir)/src.
........
  r7759 | ajordan | 2007-04-18 23:04:01 +0200 (Wed, 18 Apr 2007) | 5 lines

  * src/vm/jit/sparc64/emit.c: Migrated to abi_registers_{integer,float}_argument.
  * src/vm/jit/sparc64/codegen.c: Likewise.
  * src/vm/jit/sparc64/md-abi.c: Likewise.
........
  r7761 | twisti | 2007-04-19 11:18:20 +0200 (Thu, 19 Apr 2007) | 13 lines

  * src/threads/native/threads.c (threads_start_javathread): Removed.
  (threads_detach_thread): Added some comments.

  * src/threads/native/threads.h (threads_start_javathread): Removed.

  * src/threads/threads-common.c (assert.h): Added.
  [ENABLE_STATISTICS] (vmcore/options.h, vmcore/statistics.h): Added.
  (threads_start_javathread): Added.

  * src/threads/threads-common.h (vm/global.h): Added.
  (native/include/java_lang_Thread.h): Likewise.
  (threads_start_javathread): Likewise.
........
  r7762 | twisti | 2007-04-19 11:19:33 +0200 (Thu, 19 Apr 2007) | 3 lines

  * src/threads/threads-common.c (threads_start_javathread)
  [ENABLE_JAVASE]: Check for daemon thread and set the flag.
........
  r7763 | michi | 2007-04-19 14:19:19 +0200 (Thu, 19 Apr 2007) | 4 lines

  * src/vm/jit/arm/asmpart.S (asm_patcher_wrapper): Use long branch construct
  for exception handling here. This fixes a crash in the following jasmin
  regression testcase: jasmin/test_verify_fail_areturn_wrong_reftype.
........

--HG--
branch : exact-gc
43 files changed:
src/native/vm/java_lang_ClassLoader.c
src/threads/native/threads.c
src/threads/native/threads.h
src/threads/threads-common.c
src/threads/threads-common.h
src/vm/builtintable.inc
src/vm/jit/allocator/simplereg.c
src/vm/jit/alpha/codegen.c
src/vm/jit/alpha/emit.c
src/vm/jit/arm/asmpart.S
src/vm/jit/arm/codegen.c
src/vm/jit/arm/emit.c
src/vm/jit/codegen-common.c
src/vm/jit/emit-common.h
src/vm/jit/i386/codegen.c
src/vm/jit/i386/emit.c
src/vm/jit/inline/inline.c
src/vm/jit/jit.h
src/vm/jit/m68k/codegen.c
src/vm/jit/m68k/emit.c
src/vm/jit/mips/codegen.c
src/vm/jit/mips/emit.c
src/vm/jit/parse.c
src/vm/jit/powerpc/codegen.c
src/vm/jit/powerpc/emit.c
src/vm/jit/powerpc64/codegen.c
src/vm/jit/powerpc64/emit.c
src/vm/jit/powerpc64/linux/Makefile.am
src/vm/jit/replace.c
src/vm/jit/s390/codegen.c
src/vm/jit/s390/emit.c
src/vm/jit/show.c
src/vm/jit/sparc64/codegen.c
src/vm/jit/sparc64/emit.c
src/vm/jit/sparc64/md-abi.c
src/vm/jit/stack.c
src/vm/jit/verify/typecheck-common.c
src/vm/jit/verify/typecheck.c
src/vm/jit/verify/typeinfo.c
src/vm/jit/x86_64/codegen.c
src/vm/jit/x86_64/emit.c
tests/regression/jasmin/Makefile.am
tests/regression/resolving/Makefile.am