LLScriptScriptCodeChunk Class Reference

#include <lscript_bytecode.h>

Collaboration diagram for LLScriptScriptCodeChunk:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLScriptScriptCodeChunk (S32 total_size)
 ~LLScriptScriptCodeChunk ()
void build (FILE *efp, FILE *bcfp)

Public Attributes

LLScriptByteCodeChunkmRegisters
LLScriptByteCodeChunkmGlobalVariables
LLScriptByteCodeChunkmGlobalFunctions
LLScriptByteCodeChunkmStates
LLScriptByteCodeChunkmHeap
S32 mTotalSize
U8mCompleteCode

Detailed Description

Definition at line 74 of file lscript_bytecode.h.


Constructor & Destructor Documentation

LLScriptScriptCodeChunk::LLScriptScriptCodeChunk ( S32  total_size  ) 

Definition at line 228 of file lscript_bytecode.cpp.

References FALSE, mGlobalFunctions, mGlobalVariables, mHeap, mRegisters, and mStates.

LLScriptScriptCodeChunk::~LLScriptScriptCodeChunk (  ) 

Definition at line 238 of file lscript_bytecode.cpp.

References mCompleteCode, mGlobalFunctions, mGlobalVariables, mHeap, mRegisters, and mStates.


Member Function Documentation

void LLScriptScriptCodeChunk::build ( FILE *  efp,
FILE *  bcfp 
)

Definition at line 248 of file lscript_bytecode.cpp.

References bytestream2u64(), gErrorToText, llendl, llwarns, LREG_BP, LREG_CE, LREG_CS, LREG_ER, LREG_ESR, LREG_FR, LREG_GFR, LREG_GVR, LREG_HP, LREG_HR, LREG_IE, LREG_IP, LREG_NS, LREG_PR, LREG_SLR, LREG_SP, LREG_SR, LREG_TM, LREG_VN, LSCRIPTStateBitField, LSERROR_ASSEMBLE_OUT_OF_MEMORY, LSL2_CURRENT_MAJOR_VERSION, LSL2_MAJOR_VERSION_TWO, LSL2_VERSION_NUMBER, LSTT_STATE_ENTRY, LLScriptByteCodeChunk::mCodeChunk, mCompleteCode, LLScriptByteCodeChunk::mCurrentOffset, mGlobalFunctions, mGlobalVariables, mHeap, mRegisters, mStates, mTotalSize, S32, set_event_register(), set_register(), and LLScriptGenerateErrorText::writeError().

Referenced by LLScriptScript::recurse().


Member Data Documentation

U8* LLScriptScriptCodeChunk::mCompleteCode

Definition at line 88 of file lscript_bytecode.h.

Referenced by build(), and ~LLScriptScriptCodeChunk().

LLScriptByteCodeChunk* LLScriptScriptCodeChunk::mGlobalFunctions

Definition at line 84 of file lscript_bytecode.h.

Referenced by build(), LLScriptScriptCodeChunk(), LLScriptScript::recurse(), and ~LLScriptScriptCodeChunk().

LLScriptByteCodeChunk* LLScriptScriptCodeChunk::mGlobalVariables

Definition at line 83 of file lscript_bytecode.h.

Referenced by build(), LLScriptScriptCodeChunk(), LLScriptScript::recurse(), and ~LLScriptScriptCodeChunk().

LLScriptByteCodeChunk* LLScriptScriptCodeChunk::mHeap

Definition at line 86 of file lscript_bytecode.h.

Referenced by build(), LLScriptScriptCodeChunk(), LLScriptScript::recurse(), and ~LLScriptScriptCodeChunk().

LLScriptByteCodeChunk* LLScriptScriptCodeChunk::mRegisters

Definition at line 82 of file lscript_bytecode.h.

Referenced by build(), LLScriptScriptCodeChunk(), LLScriptScript::recurse(), and ~LLScriptScriptCodeChunk().

LLScriptByteCodeChunk* LLScriptScriptCodeChunk::mStates

Definition at line 85 of file lscript_bytecode.h.

Referenced by build(), LLScriptScriptCodeChunk(), LLScriptScript::recurse(), and ~LLScriptScriptCodeChunk().

S32 LLScriptScriptCodeChunk::mTotalSize

Definition at line 87 of file lscript_bytecode.h.

Referenced by build().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:44 2010 for Second Life Viewer by  doxygen 1.4.7