DRC: fix regression on OS X [Phil Bennett]

This commit is contained in:
arbee 2017-03-18 09:10:16 -04:00
parent 8cda81fc8b
commit cbee54fe1e
3 changed files with 3 additions and 3 deletions

View File

@ -286,7 +286,7 @@ const uint32_t drcbe_c::s_condition_map[] =
drcbe_c::drcbe_c(drcuml_state &drcuml, device_t &device, drc_cache &cache, uint32_t flags, int modes, int addrbits, int ignorebits)
: drcbe_interface(drcuml, cache, device),
m_hash(cache, modes, addrbits, ignorebits),
m_map(cache, 0),
m_map(cache, 0xaaaaaaaa55555555),
m_labels(cache),
m_fixup_delegate(&drcbe_c::fixup_label, this)
{

View File

@ -618,7 +618,7 @@ inline void drcbe_x64::emit_smart_call_m64(x86code *&dst, x86code **target)
drcbe_x64::drcbe_x64(drcuml_state &drcuml, device_t &device, drc_cache &cache, uint32_t flags, int modes, int addrbits, int ignorebits)
: drcbe_interface(drcuml, cache, device),
m_hash(cache, modes, addrbits, ignorebits),
m_map(cache, 0),
m_map(cache, 0xaaaaaaaa5555),
m_labels(cache),
m_log(nullptr),
m_sse41(false),

View File

@ -72,7 +72,7 @@ private:
static const size_t CODEGEN_MAX_BYTES = 65536;
// minimum alignment, in bytes (must be power of 2)
static const size_t CACHE_ALIGNMENT = 8;
static const size_t CACHE_ALIGNMENT = alignof(std::max_align_t);
// largest permanent allocation we allow
static const size_t MAX_PERMANENT_ALLOC = 1024;