Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

VM Namespace Reference


Classes

class  AssemblerFile
 Represents an assembler input file. More...

struct  AssemblerFile::_GlobVars
struct  AssemblerFile::Config
 Assembler file reader configuration data. (trivially C++-safe). More...

struct  AssemblerFile::GlobalVarEntry
 Represents a global variable entry. (variable, "provide"). More...

class  AssemblerFile::InternalClassList
 Like InternalSymbolList but for internal classes (ClassInfo). More...

class  AssemblerFile::InternalSymbolList
struct  AssemblerFile::ORD_SymRef_SE
struct  AssemblerFile::ORD_TypeID
 ORD template for the ImplicitMapTable for TypeID ordering. More...

struct  AssemblerFile::ORD_TypeID2
 ORD template for InternalClassList's TypeID ordering. More...

struct  AssemblerFile::SLabelInfo
 .start and and .init info, if specified (max 1 per file of each) More...

class  AssemblerFile_Plaintext
 Represents a plaintext assembler input file. More...

struct  AssemblerFile_Plaintext::RJumpEntry
struct  AssemblerFile_Plaintext::RJumpEntry_Operators
class  ClassInfo
 Represents the (namespace and type) information inside a class. More...

struct  ClassInfo::BaseEntry
 Represents a base class. More...

struct  ClassInfo::MemberVarEntry
 Represents a member variable entry. More...

struct  ClassInfo::VTableEntry
 Represents a vtable entry (vtable block). More...

class  ClassInfoIE
 Possibly internal class type. More...

struct  FuncType
 Represents a function type. More...

class  InstructionStorage
 Program instruction storage. More...

struct  MemberVarEntryOffsetOperators
class  NamespaceInfo
 Represents the information inside a namespace. More...

struct  NamespaceInfo::_Operators
 Internally used for the merge sort operation. More...

struct  NamespaceInfo::PtrListOperators
struct  NamespaceInfo::SymbolEntryB
struct  NamespaceInfo::SymbolEntryE
struct  NonResizeableArray
 Simple non-resizeable array for arbitrary types with default constructor. More...

class  ProgramStorage
 Represents program storage. More...

class  ProgramStorage::Function
 Function program instruction storage. More...

struct  VarType
 Represents a variable type. More...

class  VMLinker
 Represents the (assembler) linker. More...

struct  VMLinker::Config
 Linker configuration data. (trivially C++-safe). More...

struct  VMLinker::FileNode
 Represents a file for the linker. More...

struct  VMLinker::LSymbol
 Linker symbol queue entry used in the resolving loop. C++-safe. More...

struct  VMLinker::ProvideMapOP
class  VMLinker::SymbolProvideMap
 Internally used to create a map of all provided symbols. More...


Typedefs

typedef int32 TypeID
 Type identifier; signed (!) integer.

typedef uint32 Offset
 Offset specification in classes.

typedef uint32 CodeMark
 (Jump) mark in program (instruction) section.

typedef int32 SymRef
 (External) symbol reference number; signed int!

typedef uint32 PrgAdr
 Program instruction address / size / index.


Functions

char * _strpcp (char *dest, const char *src)
void _AssertAC_Fail (const INST::DescEntry *d, INST::IID inst, INST::ArgComb ac)
void _AssertAC (INST::IID inst, INST::ArgComb ac)
template<typename T> void IPush (char *&mem, const T &val)
template<typename T> void IPop (const char *&mem, T *val)
void _SizeAssertFail (INST::IID inst, size_t stored, size_t allocated)
void _SizeAssertFail2 (INST::IID inst, size_t read)


Typedef Documentation

typedef uint32 VM::CodeMark
 

(Jump) mark in program (instruction) section.

Definition at line 37 of file vmconfig.h.

Referenced by VM::AssemblerFile_Plaintext::_ParseProgram_FinishFunction(), VM::AssemblerFile_Plaintext::_WriteFunctionProgram(), and VM::AssemblerFile_Plaintext::RJumpEntry::RJumpEntry().

typedef uint32 VM::Offset
 

Offset specification in classes.

Definition at line 36 of file vmconfig.h.

Referenced by VM::VMLinker::_LinkGlobalStorage(), VM::MemberVarEntryOffsetOperators::eq(), and VM::MemberVarEntryOffsetOperators::lt().

typedef uint32 VM::PrgAdr
 

Program instruction address / size / index.

Definition at line 40 of file vmconfig.h.

Referenced by VM::VMLinker::_LinkFunction(), VM::AssemblerFile_Plaintext::_ParseProgram_FinishFunction(), VM::InstructionStorage::_ReallocStore(), VM::AssemblerFile_Plaintext::_WriteFunctionProgram(), VM::InstructionStorage::append(), VM::InstructionStorage::DumpInstruction(), VM::InstructionStorage::extract(), VM::ProgramStorage::Function::Function(), VM::InstructionStorage::index(), VM::InstructionStorage::InstructionAt(), VM::InstructionStorage::InstructionStorage(), VM::InstructionStorage::length(), VM::AssemblerFile_Plaintext::RJumpEntry::ord(), and VM::AssemblerFile_Plaintext::RJumpEntry::RJumpEntry().

typedef int32 VM::SymRef
 

(External) symbol reference number; signed int!

Definition at line 38 of file vmconfig.h.

Referenced by VM::VMLinker::_CreateInitFunction(), VM::VMLinker::_LinkFunction(), VM::VMLinker::_SQPush(), VM::VMLinker::_SQQuery(), VM::NamespaceInfo::SymbolEntryB::CompleteName(), VM::ProgramStorage::Function::Function(), VM::AssemblerFile::InternalSymbolList::LookupStore(), VM::VMLinker::LSymbol::LSymbol(), and VM::AssemblerFile::ORD_SymRef_SE::ord().

typedef int32 VM::TypeID
 

Type identifier; signed (!) integer.

Definition at line 35 of file vmconfig.h.

Referenced by VM::VMLinker::_LinkFunction(), VM::ClassInfo::ClassInfo(), VM::ClassInfoIE::ClassInfoIE(), VM::ClassInfo::ClassTID(), VM::AssemblerFile::InternalClassList::LookupStore(), VM::AssemblerFile::ORD_TypeID2::ord(), and VM::AssemblerFile::ORD_TypeID::ord().


Function Documentation

void _AssertAC INST::IID  inst,
INST::ArgComb  ac
[inline]
 

Definition at line 27 of file instgen.cc.

References _AssertAC_Fail(), and VM::INST::DescEntry::argcomb.

Referenced by VM::InstructionStorage::append(), and VM::InstructionStorage::extract().

void VM::_AssertAC_Fail const INST::DescEntry *  d,
INST::IID  inst,
INST::ArgComb  ac
[static]
 

Definition at line 35 of file instgen.cc.

References VM::INST::DescEntry::argcomb, Assert, Fatal(), and VM::INST::DescEntry::name.

Referenced by _AssertAC().

void _SizeAssertFail INST::IID  inst,
size_t  stored,
size_t  allocated
[static]
 

Definition at line 62 of file instgen.cc.

References Assert, Fatal(), VM::INST::DescEntry::name, VM::INST::DescEntry::size, and uint.

void _SizeAssertFail2 INST::IID  inst,
size_t  read
[static]
 

Definition at line 72 of file instgen.cc.

References Assert, Fatal(), VM::INST::DescEntry::name, VM::INST::DescEntry::size, and uint.

char* _strpcp char *  dest,
const char *  src
[inline, static]
 

Definition at line 26 of file inst2str.cc.

Referenced by VM::InstructionStorage::DumpInstruction().

template<typename T>
void IPop const char *&  mem,
T *  val
[inline, static]
 

Definition at line 55 of file instgen.cc.

Referenced by VM::InstructionStorage::extract().

template<typename T>
void IPush char *&  mem,
const T &  val
[inline, static]
 

Definition at line 49 of file instgen.cc.

Referenced by VM::InstructionStorage::append().


Generated on Sat Feb 19 22:36:02 2005 for Ray by doxygen 1.3.5