comparison agent/src/share/classes/sun/jvm/hotspot/opto/PhaseCFG.java @ 12023:d1034bd8cefc

8022284: Hide internal data structure in PhaseCFG Summary: Hide private node to block mapping using public interface Reviewed-by: kvn, roland
author adlertz
date Wed, 07 Aug 2013 17:56:19 +0200
parents 79f492f184d0
children de6a9e811145
comparison
equal deleted inserted replaced
12004:71526a36ebb4 12023:d1034bd8cefc
42 42
43 private static synchronized void initialize(TypeDataBase db) throws WrongTypeException { 43 private static synchronized void initialize(TypeDataBase db) throws WrongTypeException {
44 Type type = db.lookupType("PhaseCFG"); 44 Type type = db.lookupType("PhaseCFG");
45 numBlocksField = new CIntField(type.getCIntegerField("_num_blocks"), 0); 45 numBlocksField = new CIntField(type.getCIntegerField("_num_blocks"), 0);
46 blocksField = type.getAddressField("_blocks"); 46 blocksField = type.getAddressField("_blocks");
47 bbsField = type.getAddressField("_bbs"); 47 bbsField = type.getAddressField("_node_to_block_mapping");
48 brootField = type.getAddressField("_broot"); 48 brootField = type.getAddressField("_broot");
49 } 49 }
50 50
51 private static CIntField numBlocksField; 51 private static CIntField numBlocksField;
52 private static AddressField blocksField; 52 private static AddressField blocksField;