mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 507036 - Move valgrind icache-flush notification to CodeAlloc, r=dvander.
--HG-- extra : rebase_source : 7815a2cd0699aff603e96bb05eae04c27d504578
This commit is contained in:
parent
e299aec675
commit
59e1ebda37
@ -256,7 +256,6 @@ namespace nanojit
|
||||
|
||||
// CodeAlloc contract: allocations never fail
|
||||
_codeAlloc->alloc(start, end);
|
||||
VALGRIND_DISCARD_TRANSLATIONS(start, uintptr_t(end) - uintptr_t(start));
|
||||
NanoAssert(uintptr_t(end) - uintptr_t(start) >= (size_t)LARGEST_UNDERRUN_PROT);
|
||||
eip = end;
|
||||
}
|
||||
|
@ -2208,7 +2208,7 @@ namespace nanojit
|
||||
|
||||
#if defined(NJ_VERBOSE)
|
||||
LabelMap::LabelMap(AvmCore *core, nanojit::Allocator& a)
|
||||
: allocator(a), names(core->gc), addrs(core->config.verbose_addrs), end(buf), core(core)
|
||||
: allocator(a), names(core->gc), addrs(core->config.verbose_addrs), end(buf)
|
||||
{}
|
||||
|
||||
LabelMap::~LabelMap()
|
||||
|
Loading…
Reference in New Issue
Block a user