Index: src/platform-freebsd.cc |
diff --git a/src/platform-freebsd.cc b/src/platform-freebsd.cc |
index 084e54b3c8579d9d078d5db447bdac795c874efb..0193fcc7e46c5bd37cbf3cbe898c0aabe9a9fa5c 100644 |
--- a/src/platform-freebsd.cc |
+++ b/src/platform-freebsd.cc |
@@ -62,10 +62,7 @@ void* OS::Allocate(const size_t requested, |
int prot = PROT_READ | PROT_WRITE | (executable ? PROT_EXEC : 0); |
void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0); |
- if (mbase == MAP_FAILED) { |
- LOG(Isolate::Current(), StringEvent("OS::Allocate", "mmap failed")); |
- return NULL; |
- } |
+ if (mbase == MAP_FAILED) return NULL; |
*allocated = msize; |
return mbase; |
} |