Permit asm_const and asm_sym to reference generic params
#96800
Merged
asm_const and asm_sym to reference generic params
#96800