LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Mon Jul 30 03:42:09 CEST 2007
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/07/07 30:03:42

    Modified: jop/java/target/src/common/com/jopdesign/sys Native.java
    Startup.java
    Log:
    invoke <clinit> when short enough


    Revision Changes Path
    1.6 jop/java/target/src/common/com/jopdesign/sys/Native.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/common/com/jopdesign/sys/Native.java.diff?r1=1.5&r2=1.6

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: Native.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/target/src/common/com/jopdesign/sys/Native.java,v
    retrieving revision 1.5
    retrieving revision 1.6
    diff -u -b -r1.5 -r1.6
    --- Native.java 18 Jun 2007 00:27:12 -0000 1.5
    +++ Native.java 30 Jul 2007 01:42:08 -0000 1.6
    @@ -22,6 +22,7 @@
    public static native void ext2intMem(int[] extAdr, int intAdr, int cnt);
    public static native long makeLong(int hWord, int lWord);
    public static native void invoke(int arg, int ptr);
    + public static native void invoke(int ptr);
    public static native int toInt(Object o);
    public static native Object toObject(int i);
    public static native int toInt(float f);



    1.23 jop/java/target/src/common/com/jopdesign/sys/Startup.java

    http://www.opencores.org/cvsweb.shtml/jop/java/target/src/common/com/jopdesign/sys/Startup.java.diff?r1=1.22&r2=1.23

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: Startup.java
    ===================================================================
    RCS file: /cvsroot/martin/jop/java/target/src/common/com/jopdesign/sys/Startup.java,v
    retrieving revision 1.22
    retrieving revision 1.23
    diff -u -b -r1.22 -r1.23
    --- Startup.java 4 Jun 2007 11:41:41 -0000 1.22
    +++ Startup.java 30 Jul 2007 01:42:08 -0000 1.23
    @@ -162,9 +162,13 @@
    cp >>>= 10;
    // System.out.print("start=");
    // System.out.println(var);
    + if (len<256) { // see JOPizer constant on max. method length
    + Native.invoke(addr);
    + } else {
    interpret();
    }
    }
    + }


    // start address is in var



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.