register gamble in compiler chain