1. 28 Jan, 2000 17 commits
  2. 27 Jan, 2000 17 commits
  3. 26 Jan, 2000 6 commits
    • method.h (JvNumMethods): Moved from Class.h. · 355dff4c
      	* gcj/method.h (JvNumMethods): Moved from Class.h.
      	(JvGetFirstMethod): Likewise.
      	* java/lang/Class.h (Object): Updated decl of
      	_Jv_JNI_ToReflectedField.
      	(Object): Added _Jv_JNI_ToReflectedMethod as a friend.
      	* Makefile.in: Rebuilt.
      	* Makefile.am (java/lang/reflect/Field.h): Added `jboolean'
      	argument of _Jv_JNI_ToReflectedField.
      	(java/lang/reflect/Constructor.h): Added _Jv_JNI_ToReflectedMethod
      	as a friend.
      	(java/lang/reflect/Method.h): Likewise.
      	* include/jni.h (class _Jv_JNIEnv): Added `klass' member.  Use
      	__GCJ_JNI_IMPL__.
      	(jweak): New typedef.
      	(struct JNINativeInterface): Correctly declare remaining entries.
      	* jni.cc: Include Class.h, ClassLoader.h.
      	(_Jv_JNI_FindClass): New function.
      	(_Jv_JNI_DefineClass): New function.
      	(_Jv_JNI_conversion_call): New function.
      	(_Jv_JNI_FindClass): Use current class loader to find class.
      	(_Jv_JNI_ExceptionCheck): New function.
      	(_Jv_JNI_FromReflectedField): Now static.
      	(MethodClass): New define.
      	(_Jv_JNI_FromReflectedMethod): New function.
      	(_Jv_JNI_ToReflectedMethod): Likewise.
      	Include Method.h.
      	(_Jv_JNI_IsAssignableFrom): Renamed.
      	(_Jv_JNI_GetStringRegion): New function.
      	Include StringIndexOutOfBoundsException.h.
      	(_Jv_JNI_GetStringUTFRegion): New function.
      	(_Jv_JNIFunctions): Updated for new functions.
      	(_Jv_JNI_GetPrimitiveArrayCritical): New function
      	(_Jv_JNI_ReleasePrimitiveArrayCritical): Likewise.
      	(_Jv_JNI_GetStringCritical): New function.
      	(_Jv_JNI_ReleaseStringCritical): Likewise.
      	(get_throwable): Removed.
      	(GCJ_JV_JNIENV_FRIEND): Removed.
      	(__GCJ_JNI_IMPL__): Define.
      	Include method.h.
      
      From-SVN: r31638
      Tom Tromey committed
    • resolve.cc (get_ffi_type_from_signature): Handle case where boolean is an int. · 673fdf6d
      	* resolve.cc (get_ffi_type_from_signature): Handle case where
      	boolean is an int.
      
      From-SVN: r31637
      Tom Tromey committed
    • calls.c (special_function_p): New argument fork_or_exec. · fa76d9e0
      	* calls.c (special_function_p): New argument fork_or_exec.
      	(expand_call): When profile_arc_flag is set and the function
      	is in the fork_or_exec group, call __bb_fork_func first.
      	* libgcc2.c, _bb module (__bb_fork_func): New function.
      	(__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
      	output file.
      	* config/svr4.h (TARGET_HAS_F_SETLKW): Define.
      	* tree.h (special_function_p): Update prototype.
      
      From-SVN: r31636
      Joern Rennecke committed
    • calls.c (special_function_p): New argument fork_or_exec. · e09d24ff
      gcc:
      	* calls.c (special_function_p): New argument fork_or_exec.
      	(expand_call): When profile_arc_flag is set and the function
      	is in the fork_or_exec group, call __bb_fork_func first.
      	* libgcc2.c, _bb module (__bb_fork_func): New function.
      	(__bb_exit_func): If fcntl F_SETLKW is available, use it to lock
      	output file.
      	* config/svr4.h (TARGET_HAS_F_SETLKW): Define.
      	* tree.h (special_function_p): Update prototype.
      
      gcc/cp:
      	* cp/optimize.c (calls_setjmp_r): Supply new argument
      	to special_function_p.
      
      From-SVN: r31635
      J"orn Rennecke committed
    • alpha.c (alpha_split_tfmode_pair): New. · 628d74de
              * alpha.c (alpha_split_tfmode_pair): New.
              * alpha-protos.h: Declare it.
              * alpha.md (abstf2, negtf2): New.
              (movtf insn): Add input G constraint.
              (movtf splitter): Use alpha_split_tfmode_pair.
      
      From-SVN: r31634
      Richard Henderson committed
    • * i386/cygwin.h: PROTO -> PARAMS. · c96a8082
      From-SVN: r31633
      Kaveh R. Ghazi committed