You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ar...@apache.org on 2006/01/19 17:06:36 UTC
svn commit: r370516 - in /incubator/harmony/enhanced/jchevm/libjc/arch/ppc:
ppc_libjc.h ppc_structures.h
Author: archie
Date: Thu Jan 19 08:06:30 2006
New Revision: 370516
URL: http://svn.apache.org/viewcvs?rev=370516&view=rev
Log:
Remove no longer needed functions and definitions.
Modified:
incubator/harmony/enhanced/jchevm/libjc/arch/ppc/ppc_libjc.h
incubator/harmony/enhanced/jchevm/libjc/arch/ppc/ppc_structures.h
Modified: incubator/harmony/enhanced/jchevm/libjc/arch/ppc/ppc_libjc.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/jchevm/libjc/arch/ppc/ppc_libjc.h?rev=370516&r1=370515&r2=370516&view=diff
==============================================================================
--- incubator/harmony/enhanced/jchevm/libjc/arch/ppc/ppc_libjc.h (original)
+++ incubator/harmony/enhanced/jchevm/libjc/arch/ppc/ppc_libjc.h Thu Jan 19 08:06:30 2006
@@ -58,44 +58,6 @@
*/
}
-extern inline void
-_jc_stack_frame_init(_jc_stack_frame *framep)
-{
- *framep = NULL;
-}
-
-#define _jc_stack_frame_current(framep) \
- do { \
- *(framep) = __builtin_frame_address(0); \
- } while (0)
-
-extern inline void
-_jc_stack_frame_next(_jc_stack_frame *framep, const void **pcp)
-{
- _jc_word *const ebp = *framep;
-
- *pcp = (const void *)ebp[1]; /* saved %eip is one slot above %ebp */
- *framep = (_jc_word *)ebp[0]; /* %ebp points to saved %ebp */
-}
-
-extern inline jboolean
-_jc_stack_frame_valid(_jc_stack_frame frame)
-{
- return frame != NULL;
-}
-
-extern inline jboolean
-_jc_stack_frame_equal(_jc_stack_frame frame1, _jc_stack_frame frame2)
-{
- return frame1 == frame2;
-}
-
-extern inline const void *
-_jc_stack_frame_sp(_jc_stack_frame frame)
-{
- return (const void *)frame;
-}
-
/**
* @todo Returning NULL to be compile-clean for the moment.
*/
@@ -103,39 +65,6 @@
_jc_mcontext_sp(const mcontext_t *mctx)
{
fprintf(stderr, "WARNING: call to unimplemented function _jc_mcontext_sp(...)\n");
- exit(0);
- return (const void *) NULL;
-}
-
-/**
- * @todo Returning NULL to be compile-clean for the moment.
- */
-extern inline const void *
-_jc_mcontext_pc(const mcontext_t *mctx)
-{
- fprintf(stderr, "WARNING: call to unimplemented function _jc_mcontext_pc(...)\n");
- exit(0);
- return (const void *) NULL;
-}
-
-/**
- * @todo Returning NULL to be compile-clean for the moment.
- */
-extern inline _jc_stack_frame
-_jc_mcontext_frame(const mcontext_t *mctx)
-{
- fprintf(stderr, "WARNING: call to unimplemented function _jc_mcontext_frame(...)\n");
- exit(0);
- return (_jc_word *) NULL;
-}
-
-/**
- * @todo Returning NULL to be compile-clean for the moment.
- */
-extern inline const void *
-_jc_signal_fault_address(int sig_num, siginfo_t *info, ucontext_t *uctx)
-{
- fprintf(stderr, "WARNING: call to unimplemented function _jc_signal_falut_address(...)\n");
exit(0);
return (const void *) NULL;
}
Modified: incubator/harmony/enhanced/jchevm/libjc/arch/ppc/ppc_structures.h
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/jchevm/libjc/arch/ppc/ppc_structures.h?rev=370516&r1=370515&r2=370516&view=diff
==============================================================================
--- incubator/harmony/enhanced/jchevm/libjc/arch/ppc/ppc_structures.h (original)
+++ incubator/harmony/enhanced/jchevm/libjc/arch/ppc/ppc_structures.h Thu Jan 19 08:06:30 2006
@@ -20,7 +20,5 @@
#ifndef _ARCH_PPC_STRUCTURES_H_
#define _ARCH_PPC_STRUCTURES_H_
-typedef _jc_word *_jc_stack_frame; /* pointer to saved %epb */
-
#endif /* _ARCH_PPC_STRUCTURES_H_ */