harpoon.Analysis.Realtime
Class RealtimeRuntime

java.lang.Object
  |
  +--harpoon.Backend.Generic.Runtime
        |
        +--harpoon.Backend.Runtime1.Runtime
              |
              +--harpoon.Backend.Runtime2.Runtime
                    |
                    +--harpoon.Analysis.Realtime.RealtimeRuntime

public class RealtimeRuntime
extends Runtime

RealtimeRuntime is a trivial extension of harpoon.Backend.Runtime2.Runtime that allows constants to be tagged with an ImmortalMemory and emits extra const char* data for debugging purposes when Realtime.DEBUG_REF is turned on.

Version:
$Id: RealtimeRuntime.java,v 1.2 2002/02/25 20:59:47 cananian Exp $
Author:
Wes Beebee <wbeebee@mit.edu>

Nested Class Summary
 
Nested classes inherited from class harpoon.Backend.Generic.Runtime
Runtime.ObjectBuilder, Runtime.TreeBuilder
 
Field Summary
 
Fields inherited from class harpoon.Backend.Runtime1.Runtime
as, cg, ch, frame, main, ob, staticInitializers
 
Fields inherited from class harpoon.Backend.Generic.Runtime
configurationSet
 
Constructor Summary
RealtimeRuntime(Frame frame, AllocationStrategy as, HMethod main, boolean prependUnderscore)
          Create a RealtimeRuntime.
 
Method Summary
 List classData(HClass hc)
          Tag all classes with javax.realtime.ImmortalMemory java.lang.Object.memoryArea that has a field javax.realtime.ImmortalMemory.constant = true; Also emit data to deal with const char*'s that can be created when Realtime.DEBUG_REF.
protected  Runtime.TreeBuilder initTreeBuilder()
          Initialize the tree builder with masking turned on if needed.
 
Methods inherited from class harpoon.Backend.Runtime1.Runtime
getNameMap, getTreeBuilder, nativeTreeCodeFactory, resourcePath, runtimeCallableMethods, runtimeCallableMethods, setCallGraph, setClassHierarchy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealtimeRuntime

public RealtimeRuntime(Frame frame,
                       AllocationStrategy as,
                       HMethod main,
                       boolean prependUnderscore)
Create a RealtimeRuntime.

Method Detail

classData

public List classData(HClass hc)
Tag all classes with javax.realtime.ImmortalMemory java.lang.Object.memoryArea that has a field javax.realtime.ImmortalMemory.constant = true; Also emit data to deal with const char*'s that can be created when Realtime.DEBUG_REF.

Overrides:
classData in class Runtime

initTreeBuilder

protected Runtime.TreeBuilder initTreeBuilder()
Initialize the tree builder with masking turned on if needed.

Overrides:
initTreeBuilder in class Runtime