Package avrora.core.isdl

Examples of avrora.core.isdl.SubroutineDecl


    public LinkedList process(List l) {
        return (LinkedList)visitStmtList(l, null);
    }

    public Stmt visit(CallStmt s, Object env) {
        SubroutineDecl d = architecture.getSubroutine(s.method.image);
        if (shouldNotInline(d)) {
            return super.visit(s, env);
        } else {
            inlineCall(s.method, d, s.args);
            return null;
View Full Code Here


        return nc.returnTemp;
    }


    public Expr visit(CallExpr v, Object env) {
        SubroutineDecl d = architecture.getSubroutine(v.method.image);
        if (shouldNotInline(d)) {
            return super.visit(v, null);
        } else {
            String result = inlineCall(v.method, d, v.args);
            return new VarExpr(result);
View Full Code Here

TOP

Related Classes of avrora.core.isdl.SubroutineDecl

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.