eliminate compiler.getBuildOrderConstraints

XXX more doc