Search in sources :

Example 1 with HashedString

use of com.jopdesign.common.misc.HashedString in project jop by jop-devel.

the class SymbolicAddress method rootAddress.

public static SymbolicAddress rootAddress(String root) {
    HashedString hstr = new HashedString(root);
    RootObject robj = rootPool.get(hstr);
    if (robj == null) {
        robj = new RootObject(hstr);
        rootPool.put(hstr, robj);
    }
    return new SymbolicAddress(Tag.ROOT, robj);
}
Also used : HashedString(com.jopdesign.common.misc.HashedString)

Aggregations

HashedString (com.jopdesign.common.misc.HashedString)1