| Index: src/platform-qnx.cc
|
| diff --git a/src/platform-qnx.cc b/src/platform-qnx.cc
|
| index 4738ef542a291f85eea330cce38848cdb5c47268..883945dbbbe5ddf747d80470597a9437b080c7ea 100644
|
| --- a/src/platform-qnx.cc
|
| +++ b/src/platform-qnx.cc
|
| @@ -111,11 +111,7 @@ void* OS::Allocate(const size_t requested,
|
| int prot = PROT_READ | PROT_WRITE | (is_executable ? PROT_EXEC : 0);
|
| void* addr = OS::GetRandomMmapAddr();
|
| void* mbase = mmap(addr, msize, prot, MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
|
| - if (mbase == MAP_FAILED) {
|
| - LOG(i::Isolate::Current(),
|
| - StringEvent("OS::Allocate", "mmap failed"));
|
| - return NULL;
|
| - }
|
| + if (mbase == MAP_FAILED) return NULL;
|
| *allocated = msize;
|
| return mbase;
|
| }
|
|
|