Mercurial > hg > truffle
comparison src/share/vm/adlc/output_c.cpp @ 1489:cff162798819
6888953: some calls to function-like macros are missing semicolons
Reviewed-by: pbk, kvn
author | jcoomes |
---|---|
date | Sun, 11 Oct 2009 16:19:25 -0700 |
parents | 844a9d73ec22 |
children | b5fdf39b9749 |
comparison
equal
deleted
inserted
replaced
1488:615a9d95d265 | 1489:cff162798819 |
---|---|
719 fprintf(fp_cpp, " if (TraceOptoOutput) {\n"); | 719 fprintf(fp_cpp, " if (TraceOptoOutput) {\n"); |
720 fprintf(fp_cpp, " tty->print(\"# operand_latency(%%d), _read_stage_count = %%d\\n\", opnd, _read_stage_count);\n"); | 720 fprintf(fp_cpp, " tty->print(\"# operand_latency(%%d), _read_stage_count = %%d\\n\", opnd, _read_stage_count);\n"); |
721 fprintf(fp_cpp, " }\n"); | 721 fprintf(fp_cpp, " }\n"); |
722 fprintf(fp_cpp, "#endif\n\n"); | 722 fprintf(fp_cpp, "#endif\n\n"); |
723 #endif | 723 #endif |
724 fprintf(fp_cpp, " assert(this, \"NULL pipeline info\")\n"); | 724 fprintf(fp_cpp, " assert(this, \"NULL pipeline info\");\n"); |
725 fprintf(fp_cpp, " assert(pred, \"NULL predecessor pipline info\")\n\n"); | 725 fprintf(fp_cpp, " assert(pred, \"NULL predecessor pipline info\");\n\n"); |
726 fprintf(fp_cpp, " if (pred->hasFixedLatency())\n return (pred->fixedLatency());\n\n"); | 726 fprintf(fp_cpp, " if (pred->hasFixedLatency())\n return (pred->fixedLatency());\n\n"); |
727 fprintf(fp_cpp, " // If this is not an operand, then assume a dependence with 0 latency\n"); | 727 fprintf(fp_cpp, " // If this is not an operand, then assume a dependence with 0 latency\n"); |
728 fprintf(fp_cpp, " if (opnd > _read_stage_count)\n return (0);\n\n"); | 728 fprintf(fp_cpp, " if (opnd > _read_stage_count)\n return (0);\n\n"); |
729 fprintf(fp_cpp, " uint writeStage = pred->_write_stage;\n"); | 729 fprintf(fp_cpp, " uint writeStage = pred->_write_stage;\n"); |
730 fprintf(fp_cpp, " uint readStage = _read_stages[opnd-1];\n"); | 730 fprintf(fp_cpp, " uint readStage = _read_stages[opnd-1];\n"); |