[fullaot] Don't use the complicated generics-heavy cache under full-aot.