diff options
Diffstat (limited to 'deps/v8/src/platform-solaris.cc')
-rw-r--r-- | deps/v8/src/platform-solaris.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/deps/v8/src/platform-solaris.cc b/deps/v8/src/platform-solaris.cc index f082af125..a0590cbec 100644 --- a/deps/v8/src/platform-solaris.cc +++ b/deps/v8/src/platform-solaris.cc @@ -51,7 +51,6 @@ #include "v8.h" -#include "platform-posix.h" #include "platform.h" #include "v8threads.h" #include "vm-state-inl.h" @@ -112,11 +111,6 @@ void* OS::Allocate(const size_t requested, } -void OS::DumpBacktrace() { - // Currently unsupported. -} - - class PosixMemoryMappedFile : public OS::MemoryMappedFile { public: PosixMemoryMappedFile(FILE* file, void* memory, int size) @@ -211,20 +205,6 @@ static int StackWalkCallback(uintptr_t pc, int signo, void* data) { } -int OS::StackWalk(Vector<OS::StackFrame> frames) { - ucontext_t ctx; - struct StackWalker walker = { frames, 0 }; - - if (getcontext(&ctx) < 0) return kStackWalkError; - - if (!walkcontext(&ctx, StackWalkCallback, &walker)) { - return kStackWalkError; - } - - return walker.index; -} - - // Constants used for mmap. static const int kMmapFd = -1; static const int kMmapFdOffset = 0; |