| 543 | } |
| 544 | |
| 545 | virtual GcMethod* getVMMethod(Thread* t, object jmethod) |
| 546 | { |
| 547 | return cast<GcMethod>( |
| 548 | t, |
| 549 | objectClass(t, jmethod) == type(t, GcJmethod::Type) |
| 550 | ? cast<GcArray>(t, |
| 551 | cast<GcJmethod>(t, jmethod) |
| 552 | ->clazz() |
| 553 | ->vmClass() |
| 554 | ->methodTable()) |
| 555 | ->body()[cast<GcJmethod>(t, jmethod)->slot()] |
| 556 | : cast<GcArray>(t, |
| 557 | cast<GcJconstructor>(t, jmethod) |
| 558 | ->clazz() |
| 559 | ->vmClass() |
| 560 | ->methodTable()) |
| 561 | ->body()[cast<GcJconstructor>(t, jmethod)->slot()]); |
| 562 | } |
| 563 | |
| 564 | virtual object makeJField(Thread* t, GcField* vmField) |
| 565 | { |
nothing calls this directly
no test coverage detected