diff options
Diffstat (limited to 'deps/v8/src/trap-handler/trap-handler-internal.h')
-rw-r--r-- | deps/v8/src/trap-handler/trap-handler-internal.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/deps/v8/src/trap-handler/trap-handler-internal.h b/deps/v8/src/trap-handler/trap-handler-internal.h index 66ae4f652a..f564b10082 100644 --- a/deps/v8/src/trap-handler/trap-handler-internal.h +++ b/deps/v8/src/trap-handler/trap-handler-internal.h @@ -16,7 +16,7 @@ namespace v8 { namespace internal { namespace trap_handler { -// This describes a chunk of code that the signal handler will be able to handle +// This describes a chunk of code that the trap handler will be able to handle // faults in. {base} points to the beginning of the chunk, and {size} is the // number of bytes in the code chunk. The remainder of the struct is a list of // protected memory access instructions and an offset to a landing pad to handle @@ -41,10 +41,6 @@ class MetadataLock { void operator=(const MetadataLock&) = delete; }; -#if V8_TRAP_HANDLER_SUPPORTED -void HandleSignal(int signum, siginfo_t* info, void* context); -#endif - // To enable constant time registration of handler data, we keep a free list of // entries in the gCodeObjects table. Each entry contains a {next_free} field, // which can be used to figure out where the next entry should be inserted. @@ -68,13 +64,6 @@ extern std::atomic_size_t gRecoveredTrapCount; // unchanged. bool TryFindLandingPad(uintptr_t fault_addr, uintptr_t* landing_pad); -#if V8_TRAP_HANDLER_SUPPORTED -// When using the default signal handler, we save the old one to restore in case -// V8 chooses not to handle the signal. -extern struct sigaction g_old_handler; -extern bool g_is_default_signal_handler_registered; -#endif - } // namespace trap_handler } // namespace internal } // namespace v8 |