support peephole optimization with inline cache

support peephole optimization with inline cache