亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? intel86jitcodegen.java

?? java 到c的轉(zhuǎn)換程序的原代碼.對喜歡C程序而不懂JAVA程序的人很有幫助
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
/** use just-in-time compilation to generate code for methods  * @version $Id: Intel86JITCodeGen.java,v 1.17 1999/04/06 03:30:37 pab Exp $  *//* This is part of the Just-In-Time compiler for the Toba system.  NB: * Although we work with an instance of this class, the code is not * necessarily clean for multiple active instances; cf the static * variables. */package toba.jit;/* A note about REQUIRE: At various locations in this module are comments * which start with !! REQUIRE.  The body of those comments is a C equality * test, which verifies that some constant we're using in the jit, normally * dealing with the offset of a particular field in a runtime structure, is * still correct (nobody mucked with structure layout).  The requirements * are parsed by genRequire, which emits a body of C code that should * be inserted into runtime_CodeGen.c. *//* We need the basic Toba runtime data structures, and the classfile * structures. */import toba.runtime.*;import toba.classfile.*;classJITCodeGenextends CodeGen {    /** Initialize the CodeGen class so its generator points to us.      * This must be done before anybody touches code generation, because      * the system class loader is going to look at CodeGen.generator,      * and if it's null will die a quick and painful death. */    public static void     Initialize ()    {        JITCodeGen jcg;                /* Verify our requirements */        CodeGen.verifyRequirements ();                /* Set the global code generator to use one of us.  Do _NOT_ throw         * away one we've already assigned; we may have done some initialization         * in the C code (specifically, codegen_init). */        jcg = (JITCodeGen) CodeGen.getGenerator ();        if (null == jcg) {            CodeGen.setGenerator (jcg = new JITCodeGen ());        }    }    /* Chances are, we'll have done this explicitly (since CodeGen.generator     * can be examined without being an active use of JITCodeGen), but     * just in case.... */    static {        Initialize ();    }    /** Trivial constructor      */    public     JITCodeGen ()    {        super();    }    /** Return the native data address of a java array.      * Toba hash code: _O_TCJx0      */    public native static long    getArrayDataAddress (Object ap);    /** Return a pointer to a C-format string containing this data.      * Toba hash code: _S_Z43yi      */    public native static long    getStringAddress (String s);            /* Primitive instrumentation support: counts the number of instructions     * executed dynamically in code jit'd with this code generator, and     * emits that information at the end of the program. */    private int instrcounts [];         // Array of counts    private long icaddr;                // Native pointer to array data    public void    InitInstrumentation ()    {        int i;        instrcounts = new int [256];        i = instrcounts.length;        while (0 <= --i) {            instrcounts [i] = 0;        }        icaddr = getArrayDataAddress (instrcounts);    }    public void    SummarizeInstrumentation ()    {        int i;        if (0 == icaddr) {            return;        }        System.out.println ("\n# Dynamic JVM instruction counts:");        for (i = 0; i < instrcounts.length; i++) {            if (0 != instrcounts [i]) {                Opcode opc = Opcode.lookupOpcode (i);                System.out.println (opc.name + ": " + instrcounts [i]);            }        }    }    /** With glibc2 (libc6 under Linux), setjmp becomes a two-argument      * call to sigsetjmp; second argument should be zero.  This flag is set      * in codegen_init to indicate whether we need to set up the second      * argument. */    protected boolean useBinarySetjmp = false;    /** With SCOUT_THREADS, the overhead of pre-emption handling with calling      * yield on each back edge is too high; use a comparison between two      * longs to determine whether the time has reached a point where it      * is appropriate to call the yield function. */    protected boolean useScoutThreadPreemption = false;    private static final Register R_eax = Register.R_eax;    private static final Register R_ecx = Register.R_ecx;    private static final Register R_edx = Register.R_edx;    private static final Register R_ebx = Register.R_ebx;    private static final MemoryRef MR_ebx = new MemoryRef (R_ebx);    private static final Register R_esp = Register.R_esp;    private static final MemoryRef MR_esp = new MemoryRef (R_esp);    private static final Register R_ebp = Register.R_ebp;    private static final Register R_esi = Register.R_esi;    private static final Register R_edi = Register.R_edi;    private static final Register R_al = Register.R_al;    private static final Register R_bl = Register.R_bl;    private static final Register R_cl = Register.R_cl;    private static final Register R_dl = Register.R_dl;    private static final Register R_ah = Register.R_ah;    private static final Register R_bh = Register.R_bh;    private static final Register R_ch = Register.R_ch;    private static final Register R_dh = Register.R_dh;        private static final Register R_ST0 = Register.R_ST0;    private static final Register R_ST1 = Register.R_ST1;    private static final Register R_ST2 = Register.R_ST2;    private static final Register R_ST3 = Register.R_ST3;    private static final Register R_ST4 = Register.R_ST4;    private static final Register R_ST5 = Register.R_ST5;    private static final Register R_ST6 = Register.R_ST6;    private static final Register R_ST7 = Register.R_ST7;    /** Allocate a block of sz bytes in uncollectable memory.      * @param sz number of bytes we need      * @returns address of allocated block      * Toba Hash: _i_qYFS3      */    private static native long    allocUncolMemory (int sz);    /* Function ID values to name functions.  Must match the defs in     * runtime/jit_JITCodeGen.c.  Where's an include facility when you     * need one? */    static final int FID_new = 1;    static final int FID_anewarray = 2;    static final int FID_initclass = 3;    static final int FID_vmnewarray = 4;    static final int FID_throwAIOBE = 5;    static final int FID_geteltoffs = 6;    static final int FID_intdiv = 7;    static final int FID_intrem = 8;    static final int FID_longdiv = 9;    static final int FID_longrem = 10;    static final int FID_longmul = 11;    static final int FID_remdr = 12;    static final int FID_dtoi = 13;    static final int FID_dtol = 14;    static final int FID_longshift = 15;    static final int FID_long2f = 16;    static final int FID_long2d = 17;    static final int FID_longcmp = 18;    static final int FID_puts = 19;    static final int FID_throwNPE = 20;    static final int FID_mythread = 21;    static final int FID_sthread_got_exc = 22;    static final int FID_setjmp = 23;    static final int FID_longjmp = 24;    static final int FID_findhandler = 25;    static final int FID_athrow = 26;    static final int FID_monitorenter = 27;    static final int FID_monitorexit = 28;    static final int FID_throwCCE = 29;    static final int FID_instanceof = 30;    static final int FID_findinterface = 31;    static final int FID_throwNASE = 32;    static final int FID_enterclass = 33;    static final int FID_exitclass = 34;    static final int FID_backjumpfn = 35;    static final int FID_timeNow = 36;    static final int FID_timeSliceEnd = 37;    static final int FID_throwJITIntErr = 38;    static final int FID_CodeBlock_resolveCode = 39;    /** Return some arbitrary function's address      * @param fid an index naming the function we want      * @returns address as long      * Toba hash code:  _i_m3SYh      */    private static native long    getFuncAddr (int fid);    static final long FA_new = getFuncAddr (FID_new);    static final long FA_anewarray = getFuncAddr (FID_anewarray);    static final long FA_initclass = getFuncAddr (FID_initclass);    static final long FA_vmnewarray = getFuncAddr (FID_vmnewarray);    static final long FA_throwAIOBE = getFuncAddr (FID_throwAIOBE);    static final long FA_geteltoffs = getFuncAddr (FID_geteltoffs);    static final long FA_intdiv = getFuncAddr (FID_intdiv);    static final long FA_intrem = getFuncAddr (FID_intrem);    static final long FA_longdiv = getFuncAddr (FID_longdiv);    static final long FA_longrem = getFuncAddr (FID_longrem);    static final long FA_longmul = getFuncAddr (FID_longmul);    static final long FA_remdr = getFuncAddr (FID_remdr);    static final long FA_dtoi = getFuncAddr (FID_dtoi);    static final long FA_dtol = getFuncAddr (FID_dtol);    static final long FA_longshift = getFuncAddr (FID_longshift);    static final long FA_long2f = getFuncAddr (FID_long2f);    static final long FA_long2d = getFuncAddr (FID_long2d);    static final long FA_longcmp = getFuncAddr (FID_longcmp);    static final long FA_puts = getFuncAddr (FID_puts);    static final long FA_throwNPE = getFuncAddr (FID_throwNPE);    static final long FA_mythread = getFuncAddr (FID_mythread);    static final long FA_sthread_got_exc = getFuncAddr (FID_sthread_got_exc);    static final long FA_setjmp = getFuncAddr (FID_setjmp);    static final long FA_longjmp = getFuncAddr (FID_longjmp);    static final long FA_findhandler = getFuncAddr (FID_findhandler);    static final long FA_athrow = getFuncAddr (FID_athrow);    static final long FA_monitorenter = getFuncAddr (FID_monitorenter);    static final long FA_monitorexit = getFuncAddr (FID_monitorexit);    static final long FA_throwCCE = getFuncAddr (FID_throwCCE);    static final long FA_instanceof = getFuncAddr (FID_instanceof);    static final long FA_findinterface = getFuncAddr (FID_findinterface);    static final long FA_throwNASE = getFuncAddr (FID_throwNASE);    static final long FA_enterclass = getFuncAddr (FID_enterclass);    static final long FA_exitclass = getFuncAddr (FID_exitclass);    static final long FA_backjumpfn = getFuncAddr (FID_backjumpfn);    static final long FA_timeNow = getFuncAddr (FID_timeNow);    static final long FA_timeSliceEnd = getFuncAddr (FID_timeSliceEnd);    static final long FA_throwJITIntErr = getFuncAddr (FID_throwJITIntErr);    static final long FA_CodeBlock_resolveCode = getFuncAddr (FID_CodeBlock_resolveCode);    private static final int OID_mythread_jmpbuf = 1;    private static final int OID_mythread_exception = 2;    private static final int OID_class_flags = 3;    private static final int OID_class_nsupers = 4;    private static final int OID_class_supers = 5;    private static final int OID_mtgeneric_f = 6;    private static final int OID_mcode_isresolved = 7;    private static final int OID_mcode_mtentry = 8;    private static final int OID_barray_length = 9;    private static final int OID_barray_data = 10;    private static final Immediate immZero8b = new Immediate (0, 1, true);    private static final Immediate IMM_0 = new Immediate (0);    private static final Immediate IMM_1 = new Immediate (1);    private static final Immediate IMM_2 = new Immediate (2);    private static final Immediate IMM_3 = new Immediate (3);    private static final Immediate IMM_4 = new Immediate (4);    private static final Immediate IMM_8 = new Immediate (8);    private static final Immediate IMM_16 = new Immediate (16);    private static final Immediate IO_class_flags = new Immediate (getFieldOffset (OID_class_flags));    private static final Immediate IO_class_nsupers = new Immediate (getFieldOffset (OID_class_nsupers));    private static final Immediate IO_class_supers = new Immediate (getFieldOffset (OID_class_supers));    private static final Immediate IO_mythread_jmpbuf = new Immediate (getFieldOffset (OID_mythread_jmpbuf));    private static final Immediate IO_mythread_exception = new Immediate (getFieldOffset (OID_mythread_exception));    private static final Immediate IO_mtgeneric_f = new Immediate (getFieldOffset (OID_mtgeneric_f));    private static final Immediate IO_mcode_isresolved = new Immediate (getFieldOffset (OID_mcode_isresolved));    private static final Immediate IO_mcode_mtentry = new Immediate (getFieldOffset (OID_mcode_mtentry));    private static final Immediate IO_barray_length = new Immediate (getFieldOffset (OID_barray_length));    private static final Immediate IO_barray_data = new Immediate (getFieldOffset (OID_barray_data));    private static final MemoryRef FMA_timeSliceEnd = new MemoryRef (new Immediate ((int) FA_timeSliceEnd), null);    private static final MemoryRef FMA_timeNow = new MemoryRef (new Immediate ((int) FA_timeNow), null);    /** Return the offset within a structure of a given field      * @param oid an index naming the structure offset we want      * @returns offset as int      * Toba hash code: _i_N1XnB      */    private static native int    getFieldOffset (int oid);    /** Return a pointer to the cl_Foo structure for the primitive type      * Foo.      * @param tid Opcode.T_Foo code for type foo      * @param getArray Return pointer to acl_Foo.C instead of cl_Foo      * @returns address as long      * Toba hash code: _ii_QHITB      */    private static native long    getNPprimclass (int tid, int getArray);    private Intel86 code;               // Where the code is built up    private int frame_size;             // Size of activation record    /* To handle exceptions, we need the following local variables:     *  + char * methname; // Name of this method     *  + Object instref; // instance reference (in synchronized methods)     *  + struct mythread * tdata;     *  + volatile int pc;  // or monitorheld, for syncwrappers     *  + void * oldbuf;     *  + jmp_buf newbuf;     */    private static final int ARLV_NumVars = 6;    private static final int ARLV_methname = 5; // char * methodname    private static final int ARLV_insref = 4; // Object instance_ref, for sync method    private static final int ARLV_tdata = 3; // struct mythread *    private static final int ARLV_pc = 2; // volatile int (overlaid with monitorheld)    private static final int ARLV_monitorheld = 2; // volatile int (overlaid with pc)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产剧情一区二区三区| 欧美一区二区三区在线| av电影在线观看一区| 91视频观看免费| 欧美日韩一区二区在线观看| 成人晚上爱看视频| 色吊一区二区三区| 色综合久久88色综合天天免费| 一本到一区二区三区| 欧美疯狂做受xxxx富婆| 精品国产a毛片| 国产精品美女久久久久av爽李琼| 成人欧美一区二区三区白人| 亚洲精品欧美专区| 毛片不卡一区二区| 国产精品一二一区| 在线免费亚洲电影| 26uuu亚洲| 亚洲精品免费在线| 美国十次综合导航| 美女高潮久久久| 97国产一区二区| 久久这里只有精品首页| 亚洲制服欧美中文字幕中文字幕| 国产精品99久久久久久宅男| 欧美三级资源在线| 欧美激情综合网| 琪琪一区二区三区| 在线视频你懂得一区二区三区| 久久久一区二区| 日本伊人色综合网| 色拍拍在线精品视频8848| 久久久噜噜噜久久人人看| 午夜欧美2019年伦理| 91视频一区二区三区| 国产日韩欧美综合一区| 蜜桃视频在线观看一区二区| 精品视频在线免费观看| 国产精品成人网| 丰满白嫩尤物一区二区| 久久综合色之久久综合| 青青草一区二区三区| 在线观看国产91| 综合激情成人伊人| 国产91清纯白嫩初高中在线观看| 欧美一区二区视频网站| 香蕉成人伊视频在线观看| 一本色道久久综合精品竹菊| 国产精品国产成人国产三级| 丁香激情综合国产| 久久久不卡影院| 国产一区二区三区四区五区入口| 欧美一级欧美三级在线观看 | 男女性色大片免费观看一区二区| 色又黄又爽网站www久久| 日韩一区在线看| 99久久综合精品| 国产精品久久久一区麻豆最新章节| 国产麻豆欧美日韩一区| 亚洲精品在线免费播放| 九色综合国产一区二区三区| 日韩欧美激情一区| 免费精品视频在线| 日韩视频不卡中文| 久久se精品一区精品二区| 日韩精品一区二区在线| 久99久精品视频免费观看| 日韩视频国产视频| 激情五月激情综合网| 26uuu精品一区二区三区四区在线| 青青草一区二区三区| 欧美日韩国产片| 亚洲成人一区在线| 欧美日韩一二三区| 青青草国产精品97视觉盛宴| 日韩欧美一区二区三区在线| 久久国产福利国产秒拍| 欧美精品一区二区在线观看| 久久精品二区亚洲w码| 亚洲精品一区二区三区影院| 国产精品996| 中文字幕一区视频| 色狠狠综合天天综合综合| 亚洲午夜久久久久久久久电影网 | 午夜久久久影院| 日韩一区二区三区四区五区六区| 精品一区中文字幕| 国产午夜亚洲精品午夜鲁丝片| 欧美成人女星排行榜| 国产激情偷乱视频一区二区三区| 国产日产欧美一区二区视频| voyeur盗摄精品| 亚洲午夜影视影院在线观看| 欧美一级黄色大片| 国产69精品一区二区亚洲孕妇 | 欧美视频一区在线观看| 天堂影院一区二区| 久久伊99综合婷婷久久伊| 成人黄页毛片网站| 亚洲国产va精品久久久不卡综合| 欧美一级久久久久久久大片| 国产精品123| 一区二区三区在线视频观看58| 宅男噜噜噜66一区二区66| 国产一区二区三区精品欧美日韩一区二区三区 | 亚洲国产激情av| 欧美亚洲自拍偷拍| 国内精品伊人久久久久av一坑| 欧美国产日本视频| 欧美午夜电影在线播放| 精彩视频一区二区三区| 亚洲欧洲日韩综合一区二区| 欧美日韩在线播放三区四区| 韩国一区二区在线观看| 亚洲美女电影在线| 欧美成人vps| 日本高清不卡一区| 国产一区二区三区av电影| 亚洲视频免费在线| 日韩视频一区二区三区| 99久久精品国产观看| 首页综合国产亚洲丝袜| 国产精品嫩草影院com| 欧美一三区三区四区免费在线看| 懂色av一区二区三区免费看| 性做久久久久久久免费看| 欧美激情一区二区三区| 欧美伦理视频网站| 91在线无精精品入口| 久久精品国产秦先生| 亚洲欧美日本韩国| 久久久国际精品| 在线播放国产精品二区一二区四区| 国产成都精品91一区二区三| 丝瓜av网站精品一区二区| 国产精品视频第一区| 日韩欧美国产精品一区| 在线观看欧美精品| 成人黄色一级视频| 精品无码三级在线观看视频| 亚洲mv大片欧洲mv大片精品| 亚洲欧洲性图库| 国产日韩欧美亚洲| 日韩你懂的在线观看| 欧美亚洲愉拍一区二区| 成人av动漫在线| 国产一区二区不卡| 丝袜美腿成人在线| 亚洲国产一区二区三区青草影视| 中文字幕乱码久久午夜不卡 | 国产一区高清在线| 蜜臀av在线播放一区二区三区| 亚洲午夜精品17c| 国产精品福利影院| 欧美经典一区二区三区| 精品久久五月天| 在线不卡中文字幕| 欧美三级欧美一级| 色哟哟一区二区在线观看| www.在线欧美| 福利一区二区在线观看| 国产麻豆精品theporn| 精品一区二区三区欧美| 日韩av一级电影| 日韩vs国产vs欧美| 午夜精品久久久久久不卡8050| 一区二区三区蜜桃| 亚洲人成影院在线观看| 国产精品三级电影| 中文一区二区完整视频在线观看| 久久嫩草精品久久久精品一| 精品国产精品网麻豆系列| 日韩精品一区二区三区视频在线观看| 欧美日韩在线三级| 在线观看91av| 日韩一卡二卡三卡四卡| 欧美一区二区三区在线观看 | 国产精品中文字幕日韩精品| 激情文学综合网| 国产馆精品极品| 丁香婷婷综合激情五月色| 国产99一区视频免费| 成人福利视频网站| www.日韩在线| 91丝袜高跟美女视频| 99久久久国产精品免费蜜臀| 91网站最新网址| 欧洲av在线精品| 91精品国产综合久久蜜臀| 欧美一区二区三区在线视频| 精品国产a毛片| 国产欧美1区2区3区| 中文字幕一区av| 一区二区三区波多野结衣在线观看| 一区二区三区在线免费播放| 亚洲国产精品久久不卡毛片| 日本大胆欧美人术艺术动态| 精品一区二区三区蜜桃| 国产不卡一区视频| 91在线视频官网|