mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 818245 - Part 1: Fix "NULL used in arithmetic" warnings in Assembler-arm.cpp. r=dvander
This commit is contained in:
parent
93eb2b92f1
commit
3014115f7e
@ -2442,7 +2442,7 @@ AutoFlushCache::update(uintptr_t newStart, size_t len)
|
||||
{
|
||||
uintptr_t newStop = newStart + len;
|
||||
used_ = true;
|
||||
if (start_ == NULL) {
|
||||
if (!start_) {
|
||||
IonSpewCont(IonSpew_CacheFlush, ".");
|
||||
start_ = newStart;
|
||||
stop_ = newStop;
|
||||
@ -2484,7 +2484,7 @@ AutoFlushCache::flushAnyway()
|
||||
if (!used_)
|
||||
return;
|
||||
|
||||
if (start_ != NULL) {
|
||||
if (start_) {
|
||||
JSC::ExecutableAllocator::cacheFlush((void*)start_, (size_t)(stop_ - start_ + sizeof(Instruction)));
|
||||
} else {
|
||||
JSC::ExecutableAllocator::cacheFlush(NULL, 0xff000000);
|
||||
|
Loading…
Reference in New Issue
Block a user