| Index: src/platform-posix.cc
|
| diff --git a/src/platform-posix.cc b/src/platform-posix.cc
|
| index 0016d59d3a72ecf3c0609cc87396b1928071b71f..1b6c1c8352d73350c12ab0d0dcdff70dd40b727b 100644
|
| --- a/src/platform-posix.cc
|
| +++ b/src/platform-posix.cc
|
| @@ -94,6 +94,12 @@ void OS::Guard(void* address, const size_t size) {
|
|
|
|
|
| void* OS::GetRandomMmapAddr() {
|
| +#if defined(__native_client__)
|
| + // TODO(bradchen): restore randomization once Native Client gets
|
| + // smarter about using mmap address hints.
|
| + // See http://code.google.com/p/nativeclient/issues/3341
|
| + return NULL;
|
| +#endif
|
| Isolate* isolate = Isolate::UncheckedCurrent();
|
| // Note that the current isolate isn't set up in a call path via
|
| // CpuFeatures::Probe. We don't care about randomization in this case because
|
|
|