コード例 #1
0
SgAsmRiscOperation*
buildRiscOperation(SgAsmRiscOperation::RiscOperator op) {
    SgAsmRiscOperation *retval = new SgAsmRiscOperation(op);
    SgAsmExprListExp *operands = new SgAsmExprListExp;
    operands->set_parent(retval);
    retval->set_operands(operands);
    return retval;
}