| Index: src/platform/virtual-memory.cc
|
| diff --git a/src/platform/virtual-memory.cc b/src/platform/virtual-memory.cc
|
| index 627b31e60f52b4815aa5742f2b30a992f55fe702..7e535424fd7d17a43e1490d377d9d39d264c2488 100644
|
| --- a/src/platform/virtual-memory.cc
|
| +++ b/src/platform/virtual-memory.cc
|
| @@ -54,7 +54,7 @@ namespace internal {
|
|
|
| class RandomAddressGenerator V8_FINAL {
|
| public:
|
| - V8_INLINE(uintptr_t NextAddress()) {
|
| + V8_INLINE uintptr_t NextAddress() {
|
| LockGuard<Mutex> lock_guard(&mutex_);
|
| uintptr_t address = rng_.NextInt();
|
| #if V8_HOST_ARCH_64_BIT
|
| @@ -75,7 +75,7 @@ typedef LazyInstance<RandomAddressGenerator,
|
| #define LAZY_RANDOM_ADDRESS_GENERATOR_INITIALIZER LAZY_INSTANCE_INITIALIZER
|
|
|
|
|
| -static V8_INLINE(void* GenerateRandomAddress()) {
|
| +static V8_INLINE void* GenerateRandomAddress() {
|
| #if V8_OS_NACL
|
| // TODO(bradchen): Restore randomization once Native Client gets smarter
|
| // about using mmap address hints.
|
|
|