572 fprintf(fp, "void %sNode::format(PhaseRegAlloc *ra, outputStream *st) const {\n", inst._ident); |
572 fprintf(fp, "void %sNode::format(PhaseRegAlloc *ra, outputStream *st) const {\n", inst._ident); |
573 |
573 |
574 // Generate the user-defined portion of the format |
574 // Generate the user-defined portion of the format |
575 if( inst._format ) { |
575 if( inst._format ) { |
576 // If there are replacement variables, |
576 // If there are replacement variables, |
577 // Generate index values needed for determing the operand position |
577 // Generate index values needed for determining the operand position |
578 if( inst._format->_rep_vars.count() ) |
578 if( inst._format->_rep_vars.count() ) |
579 inst.index_temps(fp, globals); |
579 inst.index_temps(fp, globals); |
580 |
580 |
581 // Build the format from the entries in strings and rep_vars |
581 // Build the format from the entries in strings and rep_vars |
582 const char *string = NULL; |
582 const char *string = NULL; |