Mercurial > hg > graal-compiler
comparison src/share/vm/adlc/output_h.cpp @ 4120:f03a3c8bd5e5
7077312: Provide a CALL effect for instruct declaration in the ad file
Summary: abstracted way to declare that the MachNode has the effect of a call (kills caller save registers, preserves callee save registers)
Reviewed-by: twisti, never
author | roland |
---|---|
date | Wed, 14 Sep 2011 09:22:51 +0200 |
parents | 11211f7cb5a0 |
children | 1d7922586cf6 |
comparison
equal
deleted
inserted
replaced
4119:7793051af7d6 | 4120:f03a3c8bd5e5 |
---|---|
1718 fprintf(fp,"init_flags(Flag_needs_anti_dependence_check"); | 1718 fprintf(fp,"init_flags(Flag_needs_anti_dependence_check"); |
1719 node_flags_set = true; | 1719 node_flags_set = true; |
1720 } | 1720 } |
1721 } | 1721 } |
1722 | 1722 |
1723 // flag: if this instruction is implemented with a call | |
1724 if ( instr->_has_call ) { | |
1725 if ( node_flags_set ) { | |
1726 fprintf(fp," | Flag_has_call"); | |
1727 } else { | |
1728 fprintf(fp,"init_flags(Flag_has_call"); | |
1729 node_flags_set = true; | |
1730 } | |
1731 } | |
1732 | |
1723 if ( node_flags_set ) { | 1733 if ( node_flags_set ) { |
1724 fprintf(fp,"); "); | 1734 fprintf(fp,"); "); |
1725 } | 1735 } |
1726 | 1736 |
1727 fprintf(fp,"}\n"); | 1737 fprintf(fp,"}\n"); |