joeq.Compiler.Quad
Class CodeCache

java.lang.Object
  extended by joeq.Compiler.Quad.CodeCache

public class CodeCache
extends Object

Version:
$Id: CodeCache.java 2457 2006-04-06 02:32:10Z mcmartin $
Author:
John Whaley

Field Summary
static boolean AlwaysMap
           
protected  Map bcmap
           
static CodeCache cache
           
protected  Map map
           
static List passes
           
static boolean TRACE
           
 
Constructor Summary
CodeCache()
          Creates new CodeCache
 
Method Summary
protected  void _delete(jq_Method m)
           
protected  ControlFlowGraph _get(jq_Method m)
           
protected  Map _getmap(jq_Method m)
           
static void addDefaultPass(ControlFlowGraphVisitor pass)
           
static void clearDefaultPasses()
           
static void free(ControlFlowGraph cfg)
           
static Map getBCMap(jq_Method m)
           
static ControlFlowGraph getCode(jq_Method m)
           
static void invalidate()
           
static void invalidateBCMap(jq_Method m)
           
 void invalidateCache()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cache

public static final CodeCache cache

map

protected Map map

bcmap

protected Map bcmap

passes

public static List passes

TRACE

public static boolean TRACE

AlwaysMap

public static boolean AlwaysMap
Constructor Detail

CodeCache

public CodeCache()
Creates new CodeCache

Method Detail

getCode

public static ControlFlowGraph getCode(jq_Method m)

getBCMap

public static Map getBCMap(jq_Method m)

free

public static void free(ControlFlowGraph cfg)

addDefaultPass

public static void addDefaultPass(ControlFlowGraphVisitor pass)

clearDefaultPasses

public static void clearDefaultPasses()

_get

protected ControlFlowGraph _get(jq_Method m)

_getmap

protected Map _getmap(jq_Method m)

_delete

protected void _delete(jq_Method m)

invalidateCache

public void invalidateCache()

invalidate

public static void invalidate()

invalidateBCMap

public static void invalidateBCMap(jq_Method m)


Copyright © 2001-2008 John Whaley. All Rights Reserved.