(int convention)
| 286 | } |
| 287 | |
| 288 | private void checkCallingConvention(int convention) |
| 289 | throws IllegalArgumentException { |
| 290 | // TODO: perform per-platform calling convention checks |
| 291 | if ((convention & MASK_CC) != convention) { |
| 292 | throw new IllegalArgumentException("Unrecognized calling convention: " |
| 293 | + convention); |
| 294 | } |
| 295 | } |
| 296 | |
| 297 | public String getName() { |
| 298 | return functionName; |