basicTypes = new HashMap(); basicTypes.put(defs.DOUBLE_CLASS,  defs.RTT_DOUBLE()); basicTypes.put(defs.FLOAT_CLASS,   defs.RTT_FLOAT()); basicTypes.put(defs.LONG_CLASS,    defs.RTT_LONG()); basicTypes.put(defs.INT_CLASS,     defs.RTT_INT()); basicTypes.put(defs.SHORT_CLASS,   defs.RTT_SHORT()); basicTypes.put(defs.CHAR_CLASS,    defs.RTT_CHAR()); basicTypes.put(defs.BYTE_CLASS,    defs.RTT_BYTE()); basicTypes.put(defs.BOOLEAN_CLASS, defs.RTT_BOOLEAN());
predefTypes = new HashMap(); predefTypes.put(defs.DOUBLE_CLASS,  defs.RTT_DOUBLE()); predefTypes.put(defs.FLOAT_CLASS,   defs.RTT_FLOAT()); predefTypes.put(defs.LONG_CLASS,    defs.RTT_LONG()); predefTypes.put(defs.INT_CLASS,     defs.RTT_INT()); predefTypes.put(defs.SHORT_CLASS,   defs.RTT_SHORT()); predefTypes.put(defs.CHAR_CLASS,    defs.RTT_CHAR()); predefTypes.put(defs.BYTE_CLASS,    defs.RTT_BYTE()); predefTypes.put(defs.BOOLEAN_CLASS, defs.RTT_BOOLEAN()); predefTypes.put(defs.UNIT_CLASS,    defs.RTT_UNIT());  predefTypes.put(defs.ANY_CLASS,     defs.RTT_ANY()); predefTypes.put(defs.ANYVAL_CLASS,  defs.RTT_ANYVAL()); predefTypes.put(defs.ALLREF_CLASS,  defs.RTT_ALLREF()); predefTypes.put(defs.ALL_CLASS,     defs.RTT_ALL());
    public TypesAsValuesPhase(Global global, PhaseDescriptor descriptor) {        super(global, descriptor);        transformer = new TV_Transformer(global);        basicTypes = new HashMap();        basicTypes.put(defs.DOUBLE_CLASS,  defs.RTT_DOUBLE());        basicTypes.put(defs.FLOAT_CLASS,   defs.RTT_FLOAT());        basicTypes.put(defs.LONG_CLASS,    defs.RTT_LONG());        basicTypes.put(defs.INT_CLASS,     defs.RTT_INT());        basicTypes.put(defs.SHORT_CLASS,   defs.RTT_SHORT());        basicTypes.put(defs.CHAR_CLASS,    defs.RTT_CHAR());        basicTypes.put(defs.BYTE_CLASS,    defs.RTT_BYTE());        basicTypes.put(defs.BOOLEAN_CLASS, defs.RTT_BOOLEAN());        membersToAdd.put(defs.ARRAY_CLASS, new NewMember[0]);        paramsToAdd.put(ARRAY_CONSTRUCTOR, new Symbol[0]);        displayCache.put(defs.OBJECT_CLASS,                         new Ancestor[][] {                             new Ancestor[] {                                 new Ancestor(defs.OBJECT_CLASS, -1, -1)                             }                         });    }