| Index: src/platform-solaris.cc
|
| diff --git a/src/platform-solaris.cc b/src/platform-solaris.cc
|
| index d8b60c386e07a49df1d703e17efae5aa71c50793..f082af125404693b71cf528d573c5bb63e2f8588 100644
|
| --- a/src/platform-solaris.cc
|
| +++ b/src/platform-solaris.cc
|
| @@ -104,7 +104,7 @@ void* OS::Allocate(const size_t requested,
|
| void* mbase = mmap(NULL, msize, prot, MAP_PRIVATE | MAP_ANON, -1, 0);
|
|
|
| if (mbase == MAP_FAILED) {
|
| - LOG(ISOLATE, StringEvent("OS::Allocate", "mmap failed"));
|
| + LOG(Isolate::Current(), StringEvent("OS::Allocate", "mmap failed"));
|
| return NULL;
|
| }
|
| *allocated = msize;
|
| @@ -165,7 +165,7 @@ PosixMemoryMappedFile::~PosixMemoryMappedFile() {
|
| }
|
|
|
|
|
| -void OS::LogSharedLibraryAddresses() {
|
| +void OS::LogSharedLibraryAddresses(Isolate* isolate) {
|
| }
|
|
|
|
|
| @@ -361,16 +361,4 @@ bool VirtualMemory::HasLazyCommits() {
|
| return false;
|
| }
|
|
|
| -
|
| -void OS::SetUp() {
|
| - // Seed the random number generator.
|
| - // Convert the current time to a 64-bit integer first, before converting it
|
| - // to an unsigned. Going directly will cause an overflow and the seed to be
|
| - // set to all ones. The seed will be identical for different instances that
|
| - // call this setup code within the same millisecond.
|
| - uint64_t seed = static_cast<uint64_t>(TimeCurrentMillis());
|
| - srandom(static_cast<unsigned int>(seed));
|
| -}
|
| -
|
| -
|
| } } // namespace v8::internal
|
|
|