com.vladium.emma.instr
Class InstrVisitor.CodeSegment

java.lang.Object
  extended by com.vladium.emma.instr.InstrVisitor.CodeSegment
Direct Known Subclasses:
InstrVisitor.BlockSegment, InstrVisitor.clinitHeader, InstrVisitor.methodHeader
Enclosing class:
InstrVisitor

abstract static class InstrVisitor.CodeSegment
extends java.lang.Object

TODO: CodeSegment right now must be 100% position-independent code; otherwise it must follow maxlengtt() Branch pattern...


Field Summary
(package private)  InstrVisitor m_visitor
           
 
Constructor Summary
InstrVisitor.CodeSegment(InstrVisitor visitor)
           
 
Method Summary
(package private) abstract  void emit(InstrVisitor.EmitCtx ctx)
           
(package private) abstract  int length()
           
(package private) abstract  int maxstack()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_visitor

final InstrVisitor m_visitor
Constructor Detail

InstrVisitor.CodeSegment

InstrVisitor.CodeSegment(InstrVisitor visitor)
Method Detail

length

abstract int length()

maxstack

abstract int maxstack()

emit

abstract void emit(InstrVisitor.EmitCtx ctx)