From 4228f69a0d3b9bf8adaeba995ef98d8398a8ff4a Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Tue, 29 Jan 2013 19:23:22 +0200 Subject: [PATCH] Additional AOT_ONLY ifdef --- src/compile.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/compile.cpp b/src/compile.cpp index 7fa51817c7..d0cf31cfec 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -9339,11 +9339,15 @@ class MyProcessor: public Processor { root(t, MethodTreeSentinal)); } +#ifdef AVIAN_AOT_ONLY + thunks = bootThunks; +#else local::compileThunks(static_cast(t), &codeAllocator); if (not (image and code)) { bootThunks = thunks; } +#endif segFaultHandler.m = t->m; expect(t, t->m->system->success