v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::StringAllocator Class Referenceabstract

#include <string-stream.h>

Inheritance diagram for v8::internal::StringAllocator:
Collaboration diagram for v8::internal::StringAllocator:

Public Member Functions

virtual ~StringAllocator ()=default
 
virtual char * allocate (unsigned bytes)=0
 
virtual char * grow (unsigned *bytes)=0
 

Detailed Description

Definition at line 24 of file string-stream.h.

Constructor & Destructor Documentation

◆ ~StringAllocator()

virtual v8::internal::StringAllocator::~StringAllocator ( )
virtualdefault

Member Function Documentation

◆ allocate()

virtual char * v8::internal::StringAllocator::allocate ( unsigned bytes)
pure virtual

◆ grow()

virtual char * v8::internal::StringAllocator::grow ( unsigned * bytes)
pure virtual

Implemented in v8::internal::FixedStringAllocator, v8::internal::HeapStringAllocator, and v8::internal::SmallStringOptimizedAllocator< kInlineSize >.

Here is the caller graph for this function:

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