Core/JitCache: Don't try to allocate the fast block map on 32-bit builds.
This commit is contained in:
parent
c0440df288
commit
cf2a1f29b7
|
@ -42,7 +42,11 @@ void JitBaseBlockCache::Init()
|
||||||
{
|
{
|
||||||
Common::JitRegister::Init(Config::Get(Config::MAIN_PERF_MAP_DIR));
|
Common::JitRegister::Init(Config::Get(Config::MAIN_PERF_MAP_DIR));
|
||||||
|
|
||||||
|
#ifdef _ARCH_64
|
||||||
m_fast_block_map = reinterpret_cast<JitBlock**>(m_block_map_arena.Create(FAST_BLOCK_MAP_SIZE));
|
m_fast_block_map = reinterpret_cast<JitBlock**>(m_block_map_arena.Create(FAST_BLOCK_MAP_SIZE));
|
||||||
|
#else
|
||||||
|
m_fast_block_map = nullptr;
|
||||||
|
#endif
|
||||||
if (m_fast_block_map)
|
if (m_fast_block_map)
|
||||||
m_fast_block_map_ptr = m_fast_block_map;
|
m_fast_block_map_ptr = m_fast_block_map;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue