Esempio n. 1
0
void CachedInterpreter::Init()
{
  m_code.reserve(CODE_SIZE / sizeof(Instruction));

  jo.enableBlocklink = false;

  JitBaseBlockCache::Init();
  UpdateMemoryOptions();

  code_block.m_stats = &js.st;
  code_block.m_gpa = &js.gpa;
  code_block.m_fpa = &js.fpa;
}
Esempio n. 2
0
void CachedInterpreter::ClearCache()
{
  m_code.clear();
  JitBaseBlockCache::Clear();
  UpdateMemoryOptions();
}
Esempio n. 3
0
void CachedInterpreter::ClearCache()
{
  m_code.clear();
  m_block_cache.Clear();
  UpdateMemoryOptions();
}