Search in sources :

Example 1 with ClinitOrder

use of com.jopdesign.common.tools.ClinitOrder in project jop by jop-devel.

the class DFATool method createPrologue.

private MethodInfo createPrologue() {
    // find ordering for class initializers
    ClinitOrder c = new ClinitOrder();
    appInfo.iterate(c);
    List<ClassInfo> order = c.findOrder();
    MethodInfo mainClass = appInfo.getMainMethod();
    // create prologue
    return buildPrologue(mainClass, statements, flow, order);
}
Also used : MethodInfo(com.jopdesign.common.MethodInfo) ClinitOrder(com.jopdesign.common.tools.ClinitOrder) ClassInfo(com.jopdesign.common.ClassInfo)

Aggregations

ClassInfo (com.jopdesign.common.ClassInfo)1 MethodInfo (com.jopdesign.common.MethodInfo)1 ClinitOrder (com.jopdesign.common.tools.ClinitOrder)1