Fixed ASM crash with fences.