( long off, TypeStruct t)
| 311 | |
| 312 | // Convert array size to array element count |
| 313 | private static int offToIdx( long off, TypeStruct t) { |
| 314 | off -= t.aryBase(); |
| 315 | int scale = t.aryScale(); |
| 316 | long mask = (1L << scale)-1; |
| 317 | assert (off & mask) == 0; |
| 318 | return (int)(off>>scale); |
| 319 | } |
| 320 | |
| 321 | // Builds and returns a pointer Object |
| 322 | private static Object alloc(NewNode alloc) { |