Package org.trifort.rootbeer.entry

Examples of org.trifort.rootbeer.entry.CompilerSetup


  public boolean isSynchronized() {
    return m_sootMethod.isSynchronized();
  }
 
  private void createDontMangleMethods() {
    CompilerSetup setup = new CompilerSetup();
    m_dontMangleMethods = setup.getDontMangle();
    m_dontEmitMethods = setup.getDontEmit();
    m_emitUnmangled = setup.getEmitUnmanged();  
  }
View Full Code Here


    for(String method_sig : methods){
      util.parse(method_sig);
      SootMethod method = util.getSootMethod();
      addMethod(method);
    }
    CompilerSetup compiler_setup = new CompilerSetup();
    for(String extra_method : compiler_setup.getExtraMethods()){
      util.parse(extra_method);
      addMethod(util.getSootMethod());
    }
   
    Set<SootField> fields = RootbeerClassLoader.v().getDfsInfo().getFields();
    for(SootField field : fields){
      addField(field);
    }

    FieldSignatureUtil field_util = new FieldSignatureUtil();
    ForcedFields forced_fields = new ForcedFields();
    for(String field_sig : forced_fields.get()){
      field_util.parse(field_sig);
      addField(field_util.getSootField());
    }
   
    Set<ArrayType> array_types = RootbeerClassLoader.v().getDfsInfo().getArrayTypes();
    for(ArrayType array_type : array_types){
      OpenCLArrayType ocl_array_type = new OpenCLArrayType(array_type);
      addArrayType(ocl_array_type);
    }
    for(ArrayType array_type : compiler_setup.getExtraArrayTypes()){
      OpenCLArrayType ocl_array_type = new OpenCLArrayType(array_type);
      addArrayType(ocl_array_type);
    }
   
    Set<Type> instanceofs = RootbeerClassLoader.v().getDfsInfo().getInstanceOfs();
View Full Code Here

TOP

Related Classes of org.trifort.rootbeer.entry.CompilerSetup

Copyright © 2018 www.massapicom. 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.