Package org.trifort.rootbeer.deadmethods

Examples of org.trifort.rootbeer.deadmethods.DeadMethods.parseString()


      writer.println(cuda_code);
      writer.flush();
      writer.close();

      DeadMethods dead_methods = new DeadMethods();
      dead_methods.parseString(cuda_code);
      cuda_code = dead_methods.getResult();

      //Compressor compressor = new Compressor();
      //cuda_code = compressor.compress(cuda_code);
View Full Code Here


      writer.flush();
      writer.close();
     
      System.out.println("removing dead methods...");
      DeadMethods dead_methods = new DeadMethods();
      dead_methods.parseString(code[0]);
      code[0] = dead_methods.getResult();
      dead_methods.parseString(code[1]);
      code[1] = dead_methods.getResult();
     
      //jpp can't handle declspec very well
View Full Code Here

     
      System.out.println("removing dead methods...");
      DeadMethods dead_methods = new DeadMethods();
      dead_methods.parseString(code[0]);
      code[0] = dead_methods.getResult();
      dead_methods.parseString(code[1]);
      code[1] = dead_methods.getResult();
     
      //jpp can't handle declspec very well
      code[1] = code[1].replace("void entry(char * gc_info_space,", "__declspec(dllexport)\nvoid entry(char * gc_info_space,");
     
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.