Examples of GimpleParser


Examples of org.renjin.gcc.gimple.GimpleParser

    LOGGER.info("Executing " + Joiner.on(" ").join(arguments));

    callGcc(arguments);

    GimpleParser parser = new GimpleParser();
    GimpleCompilationUnit unit = parser.parse(gimpleFile);
    for(GimpleFunction fn: unit.getFunctions()) {
      fn.setCallingConvention(CallingConventions.fromFile(source));
    }
    return unit;
  }
View Full Code Here

Examples of org.renjin.gcc.gimple.GimpleParser

public class Gcc472Test extends Dqrdc2Test {

  @Test
  public void fortranArray() throws Exception {

    GimpleParser parser = new GimpleParser();
    GimpleCompilationUnit unit = parser.parse(getClass().getResource("2darray.f.gcc.4.7.2.gimple"));
    for(GimpleFunction fn : unit.getFunctions()) {
      fn.setCallingConvention(new F77CallingConvention());
    }

    Class clazz = compileGimple("org.renjin.gcc.ArrayTestGcc472", Arrays.asList(unit));
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.