src/share/vm/adlc/output_c.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File 7079317 Cdiff src/share/vm/adlc/output_c.cpp

src/share/vm/adlc/output_c.cpp

Print this page

        

*** 3092,3101 **** --- 3092,3108 ---- fprintf(fp," labelOper* oper = (labelOper*)(opnd_array(%d));\n", label_position ); fprintf(fp," oper->_label = label;\n"); fprintf(fp," oper->_block_num = block_num;\n"); fprintf(fp,"}\n"); + // Save the label + fprintf(fp,"void %sNode::save_label( Label** label, uint* block_num ) {\n", instr->_ident); + fprintf(fp," labelOper* oper = (labelOper*)(opnd_array(%d));\n", + label_position ); + fprintf(fp," *label = oper->_label;\n"); + fprintf(fp," *block_num = oper->_block_num;\n"); + fprintf(fp,"}\n"); } } // Output the definitions for methods _instructions.reset();
src/share/vm/adlc/output_c.cpp
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File