| Index: src/platform-macos.cc
|
| diff --git a/src/platform-macos.cc b/src/platform-macos.cc
|
| index 3eb5f89a9186fc8b4439c40a652fbf61553b70cf..be6e1572dcdffe73453e92b85f325c1d7fb0927e 100644
|
| --- a/src/platform-macos.cc
|
| +++ b/src/platform-macos.cc
|
| @@ -234,7 +234,6 @@ PosixMemoryMappedFile::~PosixMemoryMappedFile() {
|
|
|
|
|
| void OS::LogSharedLibraryAddresses() {
|
| -#ifdef ENABLE_LOGGING_AND_PROFILING
|
| unsigned int images_count = _dyld_image_count();
|
| for (unsigned int i = 0; i < images_count; ++i) {
|
| const mach_header* header = _dyld_get_image_header(i);
|
| @@ -256,7 +255,6 @@ void OS::LogSharedLibraryAddresses() {
|
| LOG(Isolate::Current(),
|
| SharedLibraryEvent(_dyld_get_image_name(i), start, start + size));
|
| }
|
| -#endif // ENABLE_LOGGING_AND_PROFILING
|
| }
|
|
|
|
|
| @@ -630,8 +628,6 @@ Semaphore* OS::CreateSemaphore(int count) {
|
| }
|
|
|
|
|
| -#ifdef ENABLE_LOGGING_AND_PROFILING
|
| -
|
| class Sampler::PlatformData : public Malloced {
|
| public:
|
| PlatformData() : profiled_thread_(mach_thread_self()) {}
|
| @@ -807,6 +803,5 @@ void Sampler::Stop() {
|
| SetActive(false);
|
| }
|
|
|
| -#endif // ENABLE_LOGGING_AND_PROFILING
|
|
|
| } } // namespace v8::internal
|
|
|