diff options
Diffstat (limited to 'deps/v8/src/base/platform/platform-solaris.cc')
-rw-r--r-- | deps/v8/src/base/platform/platform-solaris.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/deps/v8/src/base/platform/platform-solaris.cc b/deps/v8/src/base/platform/platform-solaris.cc index b4ac98ce73b..b5b16dac568 100644 --- a/deps/v8/src/base/platform/platform-solaris.cc +++ b/deps/v8/src/base/platform/platform-solaris.cc @@ -65,23 +65,5 @@ void OS::SignalCodeMovingGC() {} void OS::AdjustSchedulingParams() {} -// static -void* Stack::GetStackStart() { - pthread_attr_t attr; - int error; - pthread_attr_init(&attr); - error = pthread_attr_get_np(pthread_self(), &attr); - if (!error) { - void* base; - size_t size; - error = pthread_attr_getstack(&attr, &base, &size); - CHECK(!error); - pthread_attr_destroy(&attr); - return reinterpret_cast<uint8_t*>(base) + size; - } - pthread_attr_destroy(&attr); - return nullptr; -} - } // namespace base } // namespace v8 |