Restructured bytecode compiler to support differend back-ends.