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

#include <linear-allocation-area.h>

Collaboration diagram for v8::internal::LinearAllocationArea:

Public Member Functions

 LinearAllocationArea ()=default
 
 LinearAllocationArea (Address top, Address limit)
 
void Reset (Address top, Address limit)
 
void ResetStart ()
 
V8_INLINE bool CanIncrementTop (size_t bytes) const
 
V8_INLINE Address IncrementTop (size_t bytes)
 
V8_INLINE bool DecrementTopIfAdjacent (Address new_top, size_t bytes)
 
V8_INLINE bool MergeIfAdjacent (LinearAllocationArea &other)
 
V8_INLINE void SetLimit (Address limit)
 
V8_INLINE Address start () const
 
V8_INLINE Address top () const
 
V8_INLINE Address limit () const
 
const Addresstop_address () const
 
Addresstop_address ()
 
const Addresslimit_address () const
 
Addresslimit_address ()
 
void Verify () const
 

Static Public Attributes

static constexpr int kSize = 3 * kSystemPointerSize
 

Private Attributes

Address start_ = kNullAddress
 
Address top_ = kNullAddress
 
Address limit_ = kNullAddress
 

Detailed Description

Definition at line 20 of file linear-allocation-area.h.

Constructor & Destructor Documentation

◆ LinearAllocationArea() [1/2]

v8::internal::LinearAllocationArea::LinearAllocationArea ( )
default

◆ LinearAllocationArea() [2/2]

v8::internal::LinearAllocationArea::LinearAllocationArea ( Address top,
Address limit )
inline

Definition at line 23 of file linear-allocation-area.h.

Here is the call graph for this function:

Member Function Documentation

◆ CanIncrementTop()

V8_INLINE bool v8::internal::LinearAllocationArea::CanIncrementTop ( size_t bytes) const
inline

Definition at line 37 of file linear-allocation-area.h.

Here is the call graph for this function:

◆ DecrementTopIfAdjacent()

V8_INLINE bool v8::internal::LinearAllocationArea::DecrementTopIfAdjacent ( Address new_top,
size_t bytes )
inline

Definition at line 49 of file linear-allocation-area.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ IncrementTop()

V8_INLINE Address v8::internal::LinearAllocationArea::IncrementTop ( size_t bytes)
inline

Definition at line 42 of file linear-allocation-area.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ limit()

V8_INLINE Address v8::internal::LinearAllocationArea::limit ( ) const
inline

Definition at line 88 of file linear-allocation-area.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ limit_address() [1/2]

Address * v8::internal::LinearAllocationArea::limit_address ( )
inline

Definition at line 95 of file linear-allocation-area.h.

◆ limit_address() [2/2]

const Address * v8::internal::LinearAllocationArea::limit_address ( ) const
inline

Definition at line 94 of file linear-allocation-area.h.

◆ MergeIfAdjacent()

V8_INLINE bool v8::internal::LinearAllocationArea::MergeIfAdjacent ( LinearAllocationArea & other)
inline

Definition at line 62 of file linear-allocation-area.h.

Here is the call graph for this function:

◆ Reset()

void v8::internal::LinearAllocationArea::Reset ( Address top,
Address limit )
inline

Definition at line 28 of file linear-allocation-area.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ResetStart()

void v8::internal::LinearAllocationArea::ResetStart ( )
inline

Definition at line 35 of file linear-allocation-area.h.

Here is the caller graph for this function:

◆ SetLimit()

V8_INLINE void v8::internal::LinearAllocationArea::SetLimit ( Address limit)
inline

Definition at line 75 of file linear-allocation-area.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ start()

V8_INLINE Address v8::internal::LinearAllocationArea::start ( ) const
inline

Definition at line 80 of file linear-allocation-area.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ top()

V8_INLINE Address v8::internal::LinearAllocationArea::top ( ) const
inline

Definition at line 84 of file linear-allocation-area.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ top_address() [1/2]

Address * v8::internal::LinearAllocationArea::top_address ( )
inline

Definition at line 93 of file linear-allocation-area.h.

◆ top_address() [2/2]

const Address * v8::internal::LinearAllocationArea::top_address ( ) const
inline

Definition at line 92 of file linear-allocation-area.h.

◆ Verify()

void v8::internal::LinearAllocationArea::Verify ( ) const
inline

Definition at line 97 of file linear-allocation-area.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ kSize

int v8::internal::LinearAllocationArea::kSize = 3 * kSystemPointerSize
staticconstexpr

Definition at line 109 of file linear-allocation-area.h.

◆ limit_

Address v8::internal::LinearAllocationArea::limit_ = kNullAddress
private

Definition at line 119 of file linear-allocation-area.h.

◆ start_

Address v8::internal::LinearAllocationArea::start_ = kNullAddress
private

Definition at line 115 of file linear-allocation-area.h.

◆ top_

Address v8::internal::LinearAllocationArea::top_ = kNullAddress
private

Definition at line 117 of file linear-allocation-area.h.


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