( long off, TypeStruct t)
| 312 | case TypeMemPtr tmp -> tmp; |
| 313 | case TypeFunPtr tfp -> tfp; |
| 314 | case TypeMem mem -> "MEM"; |
| 315 | default -> null; |
| 316 | }; |
| 317 | } |
| 318 | |
| 319 | // Convert array size to array element count |
| 320 | private static int offToIdx( long off, TypeStruct t) { |
| 321 | off -= t.aryBase(); |
| 322 | int scale = t.aryScale(); |
| 323 | long mask = (1L << scale)-1; |