Mercurial > hg > truffle
diff src/share/vm/opto/block.hpp @ 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 | f6f3bb0ee072 |
children | cf407b7d3d78 |
line wrap: on
line diff
--- a/src/share/vm/opto/block.hpp Mon Nov 21 00:57:43 2011 -0800 +++ b/src/share/vm/opto/block.hpp Wed Sep 14 09:22:51 2011 +0200 @@ -281,6 +281,8 @@ // Find and remove n from block list void find_remove( const Node *n ); + // helper function that adds caller save registers to MachProjNode + void add_call_kills(MachProjNode *proj, RegMask& regs, const char* save_policy, bool exclude_soe); // Schedule a call next in the block uint sched_call(Matcher &matcher, Block_Array &bbs, uint node_cnt, Node_List &worklist, int *ready_cnt, MachCallNode *mcall, VectorSet &next_call);