diff --git a/src/bootimage.cpp b/src/bootimage.cpp index 7a9d82e7a3..f458e55b71 100644 --- a/src/bootimage.cpp +++ b/src/bootimage.cpp @@ -87,7 +87,7 @@ makeCodeImage(Thread* t, Zone* zone, BootImage* image, uint8_t* code, object method = tripleFirst(t, calls); uintptr_t address; if (methodFlags(t, method) & ACC_NATIVE) { - address = reinterpret_cast(code + image->nativeThunk); + address = reinterpret_cast(code + image->thunks.native.start); } else { address = methodCompiled(t, method); }