| 333 | } |
| 334 | |
| 335 | GcMethod* resolveTarget(MyThread* t, void* stack, GcMethod* method) |
| 336 | { |
| 337 | GcClass* class_ = objectClass(t, resolveThisPointer(t, stack)); |
| 338 | |
| 339 | if (class_->vmFlags() & BootstrapFlag) { |
| 340 | PROTECT(t, method); |
| 341 | PROTECT(t, class_); |
| 342 | |
| 343 | resolveSystemClass(t, roots(t)->bootLoader(), class_->name()); |
| 344 | } |
| 345 | |
| 346 | if (method->class_()->flags() & ACC_INTERFACE) { |
| 347 | return findInterfaceMethod(t, method, class_); |
| 348 | } else { |
| 349 | return findVirtualMethod(t, method, class_); |
| 350 | } |
| 351 | } |
| 352 | |
| 353 | GcMethod* resolveTarget(MyThread* t, GcClass* class_, unsigned index) |
| 354 | { |
no test coverage detected