LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Advertise
  • Mirrors
  • Logos
  • Contact us
  • Job Opportunity
  •  
    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: Tue Feb 26 08:09:27 CET 2008
    Subject: [cvs-checkins] MODIFIED: jop ...
    Top
    Date: 00/08/02 26:08:09

    Modified: jop/java/tools/src/joptimizer/optimizer InlineOptimizer.java
    Log:
    fix for empty native class


    Revision Changes Path
    1.6 jop/java/tools/src/joptimizer/optimizer/InlineOptimizer.java

    http://www.opencores.org/cvsweb.shtml/jop/java/tools/src/joptimizer/optimizer/InlineOptimizer.java.diff?r1=1.5&r2=1.6

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

    Index: InlineOptimizer.java
    ===================================================================
    RCS file: /cvsroot/stefant/jop/java/tools/src/joptimizer/optimizer/InlineOptimizer.java,v
    retrieving revision 1.5
    retrieving revision 1.6
    diff -u -b -r1.5 -r1.6
    --- InlineOptimizer.java 21 Feb 2008 02:44:01 -0000 1.5
    +++ InlineOptimizer.java 26 Feb 2008 07:09:27 -0000 1.6
    @@ -108,12 +108,18 @@

    // configure checker and inliner
    String ignorepkg = getActionOption(config, CONF_INLINE_IGNORE);
    + String nativeClass = config.getArchConfig().getNativeClassName();
    +
    + if ( nativeClass != null && !nativeClass.isEmpty() ) {
    if ( ignorepkg != null && !ignorepkg.isEmpty() ) {
    - ignorepkg += "," + config.getArchConfig().getNativeClassName();
    + ignorepkg += "," + nativeClass;
    } else {
    - ignorepkg = config.getArchConfig().getNativeClassName();
    + ignorepkg = nativeClass;
    + }
    }
    + if ( ignorepkg != null && !ignorepkg.isEmpty() ) {
    checker.setIgnorePrefix(ignorepkg.split(","));
    + }

    String maxSize = getActionOption(config, CONF_MAX_INLINE_SIZE, "0");
    try {



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