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