harpoon.Analysis.Realtime
Class RealtimeRuntime
java.lang.Object
harpoon.Backend.Generic.Runtime
harpoon.Backend.Runtime1.Runtime
harpoon.Analysis.Realtime.RealtimeRuntime
- All Implemented Interfaces:
- Serializable
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.6 2002/10/04 19:50:31 salcianu Exp $
- Author:
- Wes Beebee <wbeebee@mit.edu>
- See Also:
- Serialized Form
Method Summary |
List<HData> |
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 TreeBuilder |
initTreeBuilder()
Initialize the tree builder with masking turned on if needed. |
String |
resourcePath(String basename)
Prefixes a runtime-specific path onto the specific resource name,
so that transformations can refer to runtime-specific properties
files in a uniform manner. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RealtimeRuntime
public RealtimeRuntime(Frame frame,
AllocationStrategy as,
HMethod main,
boolean prependUnderscore)
- Create a RealtimeRuntime.
classData
public List<HData> 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 TreeBuilder initTreeBuilder()
- Initialize the tree builder with masking turned on if needed.
- Overrides:
initTreeBuilder
in class Runtime
resourcePath
public String resourcePath(String basename)
- Description copied from class:
Runtime
- Prefixes a runtime-specific path onto the specific resource name,
so that transformations can refer to runtime-specific properties
files in a uniform manner.
- Overrides:
resourcePath
in class Runtime