Fix to basic block nameless name inferring.