Additional AOT_ONLY ifdef

This commit is contained in:
Alexey Pelykh 2013-01-29 19:23:22 +02:00
parent 4840f4a019
commit fa034c7526

View File

@ -9339,11 +9339,15 @@ class MyProcessor: public Processor {
root(t, MethodTreeSentinal));
}
#ifdef AVIAN_AOT_ONLY
thunks = bootThunks;
#else
local::compileThunks(static_cast<MyThread*>(t), &codeAllocator);
if (not (image and code)) {
bootThunks = thunks;
}
#endif
segFaultHandler.m = t->m;
expect(t, t->m->system->success