Examples of ImRecordType


Examples of org.renjin.gcc.translate.type.struct.ImRecordType

  public void provideType(String typeName, ImRecordType type) {
    providedTypes.put(typeName, type);
  }

  public ImRecordType resolveStruct(GimpleRecordType recordType) {
    ImRecordType type = map.get(recordType.getId());
    if(type != null) {
      return type;
    } else {
      GimpleRecordTypeDef def = defs.get(recordType.getId());
      if(def == null) {
        throw new RuntimeException("Can't find record type definition for " + recordType);
      }
     
      if(providedTypes.containsKey(def.getName())) {
        ImRecordType providedType = providedTypes.get(def.getName());
        map.put(recordType.getId(), providedType);
        return providedType;

      } else {
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.