agent/src/share/classes/sun/jvm/hotspot/opto/Block.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/agent/src/share/classes/sun/jvm/hotspot/opto/Block.java	Fri Feb 21 17:40:44 2014
--- new/agent/src/share/classes/sun/jvm/hotspot/opto/Block.java	Fri Feb 21 17:40:44 2014

*** 46,76 **** --- 46,76 ---- succsField = type.getAddressField("_succs"); numSuccsField = new CIntField(type.getCIntegerField("_num_succs"), 0); preOrderField = new CIntField(type.getCIntegerField("_pre_order"), 0); domDepthField = new CIntField(type.getCIntegerField("_dom_depth"), 0); idomField = type.getAddressField("_idom"); ! freqField = type.getJFloatField("_freq"); ! freqField = type.getJDoubleField("_freq"); } private static AddressField nodesField; private static AddressField succsField; private static CIntField numSuccsField; private static CIntField preOrderField; private static CIntField domDepthField; private static AddressField idomField; ! private static JFloatField freqField; ! private static JDoubleField freqField; public Block(Address addr) { super(addr); } public int preOrder() { return (int)preOrderField.getValue(getAddress()); } ! public float freq() { ! return (float)freqField.getValue(getAddress()); ! public double freq() { ! return (double)freqField.getValue(getAddress()); } public Node_List nodes() { return new Node_List(getAddress().addOffsetTo(nodesField.getOffset())); }

agent/src/share/classes/sun/jvm/hotspot/opto/Block.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File