Package br.usp.each.saeg.opal

Examples of br.usp.each.saeg.opal.Block


                list.add(new Dua(i.id, new PUse(i.id, succ.id), var));
            }
        }
        while (top > 0) {

            final Block j = queue[--top];

            // is not necessary remove queued mark (since a node is visited only
            // once). We use the queued mark to indicate that a node has already
            // been visited or will be visited soon.

            if (j.isCUse(var)) {
                list.add(new Dua(i.id, new CUse(j.id), var));
            }
            if (j.isPUse(var) && !j.isDef(var)) {
                for (final Block succ : graph.neighbors(j.id)) {
                    list.add(new Dua(i.id, new PUse(j.id, succ.id), var));
                }
            }
            if (j.isDef(var)) {
                // backtrack
                continue;
            }

            for (final Block succ : graph.neighbors(j.id)) {
View Full Code Here

TOP

Related Classes of br.usp.each.saeg.opal.Block

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.