jist.runtime
Class RewriterFlow.FlowInfoMap

java.lang.Object
  extended by jist.runtime.RewriterFlow.FlowInfoMap
Enclosing class:
RewriterFlow

public static class RewriterFlow.FlowInfoMap
extends java.lang.Object

An accessor class to conveniently query data flow information.


Field Summary
private  java.util.HashMap frames
          hashmap: instructionhandle to frames.
private  java.util.HashMap pointsTo
          hashmap: instructionhandle to pointsTo instruction handles.
 
Constructor Summary
private RewriterFlow.FlowInfoMap(java.util.HashMap frames, java.util.HashMap pointsTo)
          Initialize flow information with given hashmap.
 
Method Summary
 org.apache.bcel.verifier.structurals.Frame getFrame(org.apache.bcel.generic.InstructionHandle ih)
          Return frame information BEFORE given instruction handle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

frames

private java.util.HashMap frames
hashmap: instructionhandle to frames.


pointsTo

private java.util.HashMap pointsTo
hashmap: instructionhandle to pointsTo instruction handles.

Constructor Detail

RewriterFlow.FlowInfoMap

private RewriterFlow.FlowInfoMap(java.util.HashMap frames,
                                 java.util.HashMap pointsTo)
Initialize flow information with given hashmap.

Parameters:
frames - hashmap of frame at beginning of each instruction
pointsTo - hashmap of instructions that pointTo each instruction
Method Detail

getFrame

public org.apache.bcel.verifier.structurals.Frame getFrame(org.apache.bcel.generic.InstructionHandle ih)
Return frame information BEFORE given instruction handle.

Parameters:
ih - BCEL instruction handle (program counter)
Returns:
frame BEFORE instruction executes