| 7135 | } |
| 7136 | |
| 7137 | uint64_t invokeNativeFast(MyThread* t, GcMethod* method, void* function) |
| 7138 | { |
| 7139 | FastNativeFunction f; |
| 7140 | memcpy(&f, &function, sizeof(void*)); |
| 7141 | return f(t, |
| 7142 | method, |
| 7143 | static_cast<uintptr_t*>(t->stack) + t->arch->frameFooterSize() |
| 7144 | + t->arch->frameReturnAddressSize()); |
| 7145 | } |
| 7146 | |
| 7147 | uint64_t invokeNativeSlow(MyThread* t, GcMethod* method, void* function) |
| 7148 | { |