Support "const" in IR and ASM.