Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 269 of file qv4compileddata_p.h.

Member Function Documentation

◆ align()

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

Definition at line 285 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 278 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 276 of file qv4compileddata_p.h.

References localsOffset.

Member Data Documentation

◆ localsOffset

quint32_le QV4::CompiledData::Block::localsOffset

Definition at line 272 of file qv4compileddata_p.h.

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

◆ nLocals

quint32_le QV4::CompiledData::Block::nLocals

◆ padding

quint16_le QV4::CompiledData::Block::padding

Definition at line 274 of file qv4compileddata_p.h.

◆ sizeOfLocalTemporalDeadZone

quint16_le QV4::CompiledData::Block::sizeOfLocalTemporalDeadZone

Definition at line 273 of file qv4compileddata_p.h.

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


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