update bootimage.cpp to reflect BootImage restructuring

This commit is contained in:
Joel Dice 2010-06-15 19:49:48 -06:00
parent 18d1c54956
commit 39a82a4006

View File

@ -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<uintptr_t>(code + image->nativeThunk);
address = reinterpret_cast<uintptr_t>(code + image->thunks.native.start);
} else {
address = methodCompiled(t, method);
}