Index: src/platform-solaris.cc |
diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc |
index 8a3e6c66fbf4842012adb23cf215bd8b389f643b..d3cce20069c3ecc125d257d89770b51242be7025 100644 |
--- a/src/platform-solaris.cc |
+++ b/src/platform-solaris.cc |
@@ -78,10 +78,7 @@ void* OS::Allocate(const size_t requested, |
int prot = PROT_READ | PROT_WRITE | (is_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; |
} |