My Project
V8 API Reference Guide generated from the header files
Public Member Functions | Friends
v8::Context::BackupIncumbentScope Class Referencefinal

#include <v8.h>

Public Member Functions

 BackupIncumbentScope (Local< Context > backup_incumbent_context)
 
uintptr_t JSStackComparableAddress () const
 

Friends

class internal::Isolate
 

Detailed Description

Stack-allocated class to support the backup incumbent settings object stack. https://html.spec.whatwg.org/multipage/webappapis.html#backup-incumbent-settings-object-stack

Constructor & Destructor Documentation

◆ BackupIncumbentScope()

v8::Context::BackupIncumbentScope::BackupIncumbentScope ( Local< Context backup_incumbent_context)
explicit

|backup_incumbent_context| is pushed onto the backup incumbent settings object stack.

Member Function Documentation

◆ JSStackComparableAddress()

uintptr_t v8::Context::BackupIncumbentScope::JSStackComparableAddress ( ) const
inline

Returns address that is comparable with JS stack address. Note that JS stack may be allocated separately from the native stack. See also |TryCatch::JSStackComparableAddress| for details.


The documentation for this class was generated from the following file: