Package org.renjin.gcc.translate.var

Examples of org.renjin.gcc.translate.var.FunPtrVar


  @Override
  public void writeCall(FunctionContext context, GimpleCall call) {
   
    ImFunctionType functionType = getFunctionType(context, call);
    FunPtrVar var = getFunPtrVar(context, call);

    StringBuilder callExpr = new StringBuilder();
    callExpr.append("interfaceinvoke ")
        .append(var.getJimpleVariable())
        .append(".")
        .append(functionType.jimpleSignature())
        .append(Marshallers.marshallParamList(context, call, functionType.getParams()));

    Marshallers.writeCall(context, call, callExpr.toString(), functionType.getReturnType());
View Full Code Here


    return baseType.interfaceType();
  }

  @Override
  public Variable createLocalVariable(FunctionContext functionContext, String gimpleName, VarUsage usage) {
    return new FunPtrVar(functionContext, gimpleName, this);
  }
View Full Code Here

TOP

Related Classes of org.renjin.gcc.translate.var.FunPtrVar

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.