ccmcisc.h
来自「This is a resource based on j2me embedde」· C头文件 代码 · 共 168 行
H
168 行
/* * @(#)ccmcisc.h 1.6 06/10/23 * * Portions Copyright 2000-2008 Sun Microsystems, Inc. All Rights * Reserved. Use is subject to license terms. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License version * 2 only, as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License version 2 for more details (a copy is * included at /legal/license.txt). * * You should have received a copy of the GNU General Public License * version 2 along with this work; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA * 02110-1301 USA * * Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa * Clara, CA 95054 or visit www.sun.com if you need additional * information or have any questions. *//* * Porting layer for JIT functions. */#ifndef _INCLUDED_CCMCISC_H#define _INCLUDED_CCMCISC_H#include "javavm/include/porting/defs.h"/* * Invoke a static synchronized method from compiled code. */extern voidCVMCCMinvokeStaticSyncMethodHelper(CVMMethodBlock *mb, CVMObjectICell* syncObject);/* * Invoke a nonstatic synchronized method from compiled code. */extern voidCVMCCMinvokeNonstaticSyncMethodHelper(CVMMethodBlock *mb);/* * return from a compiled method. */extern voidCVMCCMreturnFromMethod();/* * return from a sync compiled method. */extern voidCVMCCMreturnFromSyncMethod();/* glue routine that calls CVMtraceMethodCall */#ifdef CVM_TRACEextern voidCVMCCMtraceMethodCallGlue();#endif#if defined(CVMJIT_SIMPLE_SYNC_METHODS) && \ (CVM_FASTLOCK_TYPE == CVM_FASTLOCK_ATOMICOPS)/* Glue routine that calls CVMCCMruntimeSimpleSyncUnlock() */extern voidCVMCCMruntimeSimpleSyncUnlockGlue(CVMExecEnv *ee, CVMObject* obj);#endif /* CVMJIT_SIMPLE_SYNC_METHODS *//* glue routine that calls CVMCCMruntimeGCRendezvous */extern voidCVMCCMruntimeGCRendezvousGlue();/* lock and unlock and object */extern voidCVMCCMruntimeMonitorExitGlue(CVMObject *obj);extern voidCVMCCMruntimeMonitorEnterGlue(CVMObject *obj);/* Throw various well known exceptions */extern voidCVMCCMruntimeThrowNullPointerExceptionGlue();extern voidCVMCCMruntimeThrowArrayIndexOutOfBoundsExceptionGlue();extern voidCVMCCMruntimeThrowDivideByZeroGlue();/* Throw an object */extern voidCVMCCMruntimeThrowObjectGlue();/* checkcast */extern voidCVMCCMruntimeCheckCastGlue();/* instanceof */extern voidCVMCCMruntimeInstanceOfGlue();/* instanceof */extern voidCVMCCMruntimeCheckArrayAssignableGlue();/* lookup an interface mb */extern voidCVMCCMruntimeLookupInterfaceMBGlue();/* run a clinit */extern voidCVMCCMruntimeRunClassInitializerGlue();/* resolve a cp entry */extern voidCVMCCMruntimeResolveGlue();extern voidCVMCCMruntimeResolveNewClassBlockAndClinitGlue();extern voidCVMCCMruntimeResolveGetstaticFieldBlockAndClinitGlue();extern voidCVMCCMruntimeResolvePutstaticFieldBlockAndClinitGlue();extern voidCVMCCMruntimeResolveStaticMethodBlockAndClinitGlue();extern voidCVMCCMruntimeResolveClassBlockGlue();extern voidCVMCCMruntimeResolveArrayClassBlockGlue();extern voidCVMCCMruntimeResolveGetfieldFieldOffsetGlue();extern voidCVMCCMruntimeResolvePutfieldFieldOffsetGlue();extern voidCVMCCMruntimeResolveSpecialMethodBlockGlue();extern voidCVMCCMruntimeResolveMethodBlockGlue();extern voidCVMCCMruntimeResolveMethodTableOffsetGlue();extern voidCVMCCMruntimeNewGlue();extern voidCVMCCMruntimeNewArrayGlue();/* SVMC_JIT c5041613 (dk) 12.02.2004 */#ifdef CVM_JIT_INLINE_NEWARRAYextern voidCVMCCMruntimeNewArrayGounlockandslowGlue();extern voidCVMCCMruntimeNewArrayGoslowGlue();extern voidCVMCCMruntimeNewArrayBadindexGlue();#endif /* CVM_JIT_INLINE_NEWARRAY */extern voidCVMCCMruntimeANewArrayGlue();extern voidCVMCCMruntimeMultiANewArrayGlue();#ifdef CVM_JIT_DEBUG/* Purpose: Poll to see a breakpoint should occur at the current PC. */extern voidCVMJITdebugPollBreakpointGlue();#endif#endif /* _INCLUDED_CCMCISC_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?