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

#include <code-memory-access.h>

Collaboration diagram for v8::internal::WritableFreeSpace:

Public Member Functions

 WritableFreeSpace (const WritableFreeSpace &)=delete
 
WritableFreeSpaceoperator= (const WritableFreeSpace &)=delete
 
V8_INLINE ~WritableFreeSpace ()
 
template<typename T , size_t offset>
V8_INLINE void WriteHeaderSlot (Tagged< T > value, RelaxedStoreTag) const
 
template<size_t offset>
void ClearTagged (size_t count) const
 
base::Address Address () const
 
int Size () const
 
bool Executable () const
 
template<typename T , size_t offset>
void WriteHeaderSlot (Tagged< T > value, RelaxedStoreTag) const
 

Static Public Member Functions

static V8_INLINE WritableFreeSpace ForNonExecutableMemory (base::Address addr, size_t size)
 

Private Member Functions

 WritableFreeSpace (base::Address addr, size_t size, bool executable)
 

Private Attributes

const base::Address address_
 
const int size_
 
const bool executable_
 

Friends

class WritableJitPage
 

Detailed Description

Definition at line 491 of file code-memory-access.h.

Constructor & Destructor Documentation

◆ WritableFreeSpace() [1/2]

v8::internal::WritableFreeSpace::WritableFreeSpace ( const WritableFreeSpace & )
delete
Here is the caller graph for this function:

◆ ~WritableFreeSpace()

v8::internal::WritableFreeSpace::~WritableFreeSpace ( )
default

◆ WritableFreeSpace() [2/2]

V8_INLINE v8::internal::WritableFreeSpace::WritableFreeSpace ( base::Address addr,
size_t size,
bool executable )
private

Definition at line 292 of file code-memory-access-inl.h.

Member Function Documentation

◆ Address()

base::Address v8::internal::WritableFreeSpace::Address ( ) const
inline

Definition at line 509 of file code-memory-access.h.

Here is the caller graph for this function:

◆ ClearTagged()

template<size_t offset>
template void v8::internal::WritableFreeSpace::ClearTagged< 2 *kTaggedSize > ( size_t count) const

Definition at line 711 of file code-memory-access.cc.

Here is the call graph for this function:

◆ Executable()

bool v8::internal::WritableFreeSpace::Executable ( ) const
inline

Definition at line 511 of file code-memory-access.h.

◆ ForNonExecutableMemory()

V8_INLINE WritableFreeSpace v8::internal::WritableFreeSpace::ForNonExecutableMemory ( base::Address addr,
size_t size )
static

Definition at line 288 of file code-memory-access-inl.h.

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

◆ operator=()

WritableFreeSpace & v8::internal::WritableFreeSpace::operator= ( const WritableFreeSpace & )
delete

◆ Size()

int v8::internal::WritableFreeSpace::Size ( ) const
inline

Definition at line 510 of file code-memory-access.h.

Here is the caller graph for this function:

◆ WriteHeaderSlot() [1/2]

template<typename T , size_t offset>
void v8::internal::WritableFreeSpace::WriteHeaderSlot ( Tagged< T > value,
RelaxedStoreTag  ) const

Definition at line 297 of file code-memory-access-inl.h.

Here is the call graph for this function:

◆ WriteHeaderSlot() [2/2]

template<typename T , size_t offset>
V8_INLINE void v8::internal::WritableFreeSpace::WriteHeaderSlot ( Tagged< T > value,
RelaxedStoreTag  ) const
Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ WritableJitPage

friend class WritableJitPage
friend

Definition at line 520 of file code-memory-access.h.

Member Data Documentation

◆ address_

const base::Address v8::internal::WritableFreeSpace::address_
private

Definition at line 516 of file code-memory-access.h.

◆ executable_

const bool v8::internal::WritableFreeSpace::executable_
private

Definition at line 518 of file code-memory-access.h.

◆ size_

const int v8::internal::WritableFreeSpace::size_
private

Definition at line 517 of file code-memory-access.h.


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