| Index: src/platform-linux.cc
|
| diff --git a/src/platform-linux.cc b/src/platform-linux.cc
|
| index c1e0ca26d428cc52539d28bb116faf0f29c7a9ec..e5a0b0e3f087e6b1b89975e13b931400dcb5e041 100644
|
| --- a/src/platform-linux.cc
|
| +++ b/src/platform-linux.cc
|
| @@ -119,11 +119,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;
|
| }
|
|
|