| Index: src/platform-linux.cc
|
| diff --git a/src/platform-linux.cc b/src/platform-linux.cc
|
| index 6ed6a752084d4b6f02de8a78c1d646c0c0e388b3..dff5843463882022f21badaf545b61e35fcc1124 100644
|
| --- a/src/platform-linux.cc
|
| +++ b/src/platform-linux.cc
|
| @@ -221,7 +221,7 @@ PosixMemoryMappedFile::~PosixMemoryMappedFile() {
|
| }
|
|
|
|
|
| -void OS::LogSharedLibraryAddresses() {
|
| +void OS::LogSharedLibraryAddresses(Isolate* isolate) {
|
| // This function assumes that the layout of the file is as follows:
|
| // hex_start_addr-hex_end_addr rwxp <unused data> [binary_file_name]
|
| // If we encounter an unexpected situation we abort scanning further entries.
|
| @@ -232,7 +232,6 @@ void OS::LogSharedLibraryAddresses() {
|
| const int kLibNameLen = FILENAME_MAX + 1;
|
| char* lib_name = reinterpret_cast<char*>(malloc(kLibNameLen));
|
|
|
| - i::Isolate* isolate = ISOLATE;
|
| // This loop will terminate once the scanning hits an EOF.
|
| while (true) {
|
| uintptr_t start, end;
|
| @@ -467,12 +466,4 @@ bool VirtualMemory::HasLazyCommits() {
|
| return true;
|
| }
|
|
|
| -
|
| -void OS::SetUp() {
|
| - // Seed the random number generator. We preserve microsecond resolution.
|
| - uint64_t seed = static_cast<uint64_t>(TimeCurrentMillis()) ^ (getpid() << 16);
|
| - srandom(static_cast<unsigned int>(seed));
|
| -}
|
| -
|
| -
|
| } } // namespace v8::internal
|
|
|