Author: dgilmore Date: 2011-10-09 01:22:43 -0400 (Sun, 09 Oct 2011) New Revision: 3754
Modified: trunk/osprey/be/opt/opt_htable.cxx Log: Cleanup of CK_RCONST tracing in WOPT. TODO: the constant value should also be printed. Approved by Jian-Xin and Sun. Modified: trunk/osprey/be/opt/opt_htable.cxx =================================================================== --- trunk/osprey/be/opt/opt_htable.cxx 2011-10-09 05:17:57 UTC (rev 3753) +++ trunk/osprey/be/opt/opt_htable.cxx 2011-10-09 05:22:43 UTC (rev 3754) @@ -903,7 +903,11 @@ case CK_RCONST: fprintf(fp, ">"); // mark line visually as htable dump for (i = 0; i < indent; i++) fprintf(fp, " "); - fprintf(fp, "LDRC %s 0x%p", MTYPE_name(Dtyp()), Const_id()); + { + ST_IDX st_idx = ST_st_idx(Const_id()); + fprintf(fp, "LDRC %s <%d,%d>", MTYPE_name(Dtyp()), + ST_IDX_level (st_idx), ST_IDX_index (st_idx)); + } break; case CK_DELETED: default: @@ -995,8 +999,10 @@ sprintf(buf,"LDC %lld",Const_val()); break; case CK_RCONST: - if (name_format) - sprintf(buf,"LDRC 0x%p",Const_id()); + if (name_format) { + ST_IDX st_idx = ST_st_idx(Const_id()); + sprintf(buf,"LDRC <%d,%d>", ST_IDX_level (st_idx), ST_IDX_index (st_idx)); + } break; default: Warn_todo("CODEREP::Print: CODEKIND is not implemented yet"); ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel