remove dead code, frameindices must be resolve before the asmprinter runs.