Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
CodeFragment Struct Reference
Collaboration diagram for CodeFragment:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CodeFragment (char *dataStart, char *dataEnd, char *codeStart, char *codeEnd, const FSSpec *fragmentSpec)
 ~CodeFragment ()
voidoperator new (size_t n)
void operator delete (void *ptr)

Public Attributes

CodeFragmentmNext
char * mDataStart
char * mDataEnd
char * mCodeStart
char * mCodeEnd
FSSpec mFragmentSpec
CodeLocationCache mLocations
sym_filemSymbols

Detailed Description

Definition at line 93 of file gc_fragments.cpp.


Constructor & Destructor Documentation

CodeFragment::CodeFragment ( char *  dataStart,
char *  dataEnd,
char *  codeStart,
char *  codeEnd,
const FSSpec fragmentSpec 
)

Definition at line 113 of file gc_fragments.cpp.

       :      mDataStart(dataStart), mDataEnd(dataEnd),
              mCodeStart(codeStart), mCodeEnd(codeEnd),
              mFragmentSpec(*fragmentSpec), mSymbols(NULL), mNext(NULL)
{
       // need to eagerly open symbols file eagerly, otherwise we're in the middle of a GC!
       FSSpec symSpec = mFragmentSpec;
       UInt8 len = symSpec.name[0];
       symSpec.name[++len] = '.';
       symSpec.name[++len] = 'x';
       symSpec.name[++len] = 'S';
       symSpec.name[++len] = 'Y';
       symSpec.name[++len] = 'M';
       symSpec.name[0] = len;

       mSymbols = open_sym_file(&symSpec);
}

Here is the call graph for this function:

Definition at line 133 of file gc_fragments.cpp.

Here is the call graph for this function:


Member Function Documentation

void CodeFragment::operator delete ( void ptr) [inline]

Definition at line 110 of file gc_fragments.cpp.

Here is the call graph for this function:

void* CodeFragment::operator new ( size_t  n) [inline]

Definition at line 109 of file gc_fragments.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 98 of file gc_fragments.cpp.

Definition at line 97 of file gc_fragments.cpp.

Definition at line 96 of file gc_fragments.cpp.

Definition at line 95 of file gc_fragments.cpp.

Definition at line 99 of file gc_fragments.cpp.

Definition at line 100 of file gc_fragments.cpp.

Definition at line 94 of file gc_fragments.cpp.

Definition at line 101 of file gc_fragments.cpp.


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