Public Member Functions | Public Attributes

JSCodeGenerator Struct Reference

#include <jsemit.h>

Inheritance diagram for JSCodeGenerator:
Collaboration diagram for JSCodeGenerator:

List of all members.

Public Member Functions

 JSCodeGenerator (JSCompiler *jsc, JSArenaPool *codePool, JSArenaPool *notePool, uintN lineno)
 ~JSCodeGenerator ()
bool hasSharps ()
uintN sharpSlots ()

Public Attributes

JSArenaPoolcodePool
JSArenaPoolnotePool
void * codeMark
void * noteMark
struct {
   jsbytecode *   base
   jsbytecode *   limit
   jsbytecode *   next
   jssrcnote *   notes
   uintN   noteCount
   uintN   noteMask
   ptrdiff_t   lastNoteOffset
   uintN   currentLine
prolog
struct {
   jsbytecode *   base
   jsbytecode *   limit
   jsbytecode *   next
   jssrcnote *   notes
   uintN   noteCount
   uintN   noteMask
   ptrdiff_t   lastNoteOffset
   uintN   currentLine
main
struct {
   jsbytecode *   base
   jsbytecode *   limit
   jsbytecode *   next
   jssrcnote *   notes
   uintN   noteCount
   uintN   noteMask
   ptrdiff_t   lastNoteOffset
   uintN   currentLine
current
JSAtomList atomList
uintN firstLine
intN stackDepth
uintN maxStackDepth
uintN ntrynotes
JSTryNodelastTryNode
JSSpanDepspanDeps
JSJumpTargetjumpTargets
JSJumpTargetjtFreeList
uintN numSpanDeps
uintN numJumpTargets
ptrdiff_t spanDepTodo
uintN arrayCompDepth
uintN emitLevel
JSAtomList constList
JSCGObjectList objectList
JSCGObjectList regexpList
JSAtomList upvarList
JSUpvarArray upvarMap

Constructor & Destructor Documentation

JSCodeGenerator::JSCodeGenerator ( JSCompiler jsc,
JSArenaPool codePool,
JSArenaPool notePool,
uintN  lineno 
)
JSCodeGenerator::~JSCodeGenerator (  ) 

Member Function Documentation

bool JSCodeGenerator::hasSharps (  )  [inline]
uintN JSCodeGenerator::sharpSlots (  )  [inline]

Member Data Documentation

struct { ... } * JSCodeGenerator::current
struct { ... } JSCodeGenerator::main
struct { ... } JSCodeGenerator::prolog

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