Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QV4::CompiledData::Block Struct Reference

#include <qv4compileddata_p.h>

+ Collaboration diagram for QV4::CompiledData::Block:

Public Member Functions

const quint32_lelocalsTable () const
 

Static Public Member Functions

static int calculateSize (int nLocals)
 
static size_t align (size_t a)
 

Public Attributes

quint32_le nLocals
 
quint32_le localsOffset
 
quint16_le sizeOfLocalTemporalDeadZone
 
quint16_le padding
 

Detailed Description

Definition at line 249 of file qv4compileddata_p.h.

Member Function Documentation

◆ align()

static size_t QV4::CompiledData::Block::align ( size_t  a)
inlinestatic

Definition at line 265 of file qv4compileddata_p.h.

Referenced by calculateSize().

+ Here is the caller graph for this function:

◆ calculateSize()

static int QV4::CompiledData::Block::calculateSize ( int  nLocals)
inlinestatic

Definition at line 258 of file qv4compileddata_p.h.

References align(), nLocals, and Q_ASSERT.

+ Here is the call graph for this function:

◆ localsTable()

const quint32_le * QV4::CompiledData::Block::localsTable ( ) const
inline

Definition at line 256 of file qv4compileddata_p.h.

References localsOffset.

Referenced by QV4::ExecutableCompilationUnit::linkToEngine().

+ Here is the caller graph for this function:

Member Data Documentation

◆ localsOffset

quint32_le QV4::CompiledData::Block::localsOffset

Definition at line 252 of file qv4compileddata_p.h.

Referenced by localsTable(), and QV4::Compiler::JSUnitGenerator::writeBlock().

◆ nLocals

◆ padding

quint16_le QV4::CompiledData::Block::padding

Definition at line 254 of file qv4compileddata_p.h.

◆ sizeOfLocalTemporalDeadZone

quint16_le QV4::CompiledData::Block::sizeOfLocalTemporalDeadZone

Definition at line 253 of file qv4compileddata_p.h.

Referenced by QV4::Compiler::JSUnitGenerator::writeBlock().


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