Checking for code generator before CTCG.