fix build; restore asmjit reader_lock for now

This commit is contained in:
kd-11 2017-07-17 19:52:14 +03:00
parent cbd1b28d0d
commit 94c1b74a17
4 changed files with 8 additions and 7 deletions

View file

@ -62,7 +62,7 @@ std::shared_ptr<spu_function_t> SPUDatabase::analyse(const be_t<u32>* ls, u32 en
const u32 block_sz = max_limit - entry;
{
//reader_lock lock(m_mutex);
reader_lock lock(m_mutex);
// Try to find existing function in the database
if (auto func = find(base, key, block_sz))
@ -101,7 +101,7 @@ std::shared_ptr<spu_function_t> SPUDatabase::analyse(const be_t<u32>* ls, u32 en
const auto type = s_spu_itype.decode(op.opcode);
{
//reader_lock lock(m_mutex);
reader_lock lock(m_mutex);
// Find existing function
if (pos != entry && find(ls + pos / 4, pos | u64{ op.opcode } << 32, limit - pos))