v8 14.1.146 (node 25.0.0)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
PageAllocator::AllocationHint Class Referencefinal

#include <v8-platform.h>

Public Member Functions

 AllocationHint ()=default
 
V8_WARN_UNUSED_RESULT constexpr AllocationHint WithAddress (void *address) const
 
V8_WARN_UNUSED_RESULT constexpr AllocationHint WithMayGrow () const
 
bool MayGrow () const
 
void * Address () const
 

Detailed Description

Optional hints for AllocatePages().

Definition at line 504 of file v8-platform.h.

Constructor & Destructor Documentation

◆ AllocationHint()

AllocationHint ( )
default

Member Function Documentation

◆ Address()

void * Address ( ) const
inline

Definition at line 518 of file v8-platform.h.

◆ MayGrow()

bool MayGrow ( ) const
inline

Definition at line 517 of file v8-platform.h.

◆ WithAddress()

V8_WARN_UNUSED_RESULT constexpr AllocationHint WithAddress ( void *  address) const
inlineconstexpr

Definition at line 508 of file v8-platform.h.

◆ WithMayGrow()

V8_WARN_UNUSED_RESULT constexpr AllocationHint WithMayGrow ( ) const
inlineconstexpr

Definition at line 513 of file v8-platform.h.


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