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

#include <string-stream.h>

Inheritance diagram for v8::internal::HeapStringAllocator:
Collaboration diagram for v8::internal::HeapStringAllocator:

Public Member Functions

 ~HeapStringAllocator () override
 
char * allocate (unsigned bytes) override
 
char * grow (unsigned *bytes) override
 
- Public Member Functions inherited from v8::internal::StringAllocator
virtual ~StringAllocator ()=default
 

Private Attributes

char * space_
 

Detailed Description

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

Constructor & Destructor Documentation

◆ ~HeapStringAllocator()

v8::internal::HeapStringAllocator::~HeapStringAllocator ( )
inlineoverride

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

Here is the call graph for this function:

Member Function Documentation

◆ allocate()

char * v8::internal::HeapStringAllocator::allocate ( unsigned bytes)
overridevirtual

Implements v8::internal::StringAllocator.

Definition at line 21 of file string-stream.cc.

Here is the call graph for this function:

◆ grow()

char * v8::internal::HeapStringAllocator::grow ( unsigned * bytes)
overridevirtual

Implements v8::internal::StringAllocator.

Definition at line 459 of file string-stream.cc.

Here is the call graph for this function:

Member Data Documentation

◆ space_

char* v8::internal::HeapStringAllocator::space_
private

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


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