Mercurial > hg > graal-jvmci-8
comparison src/share/vm/opto/chaitin.hpp @ 3934:8f47d8870d9a
7087453: PhaseChaitin::yank_if_dead() should handle MachTemp inputs
Summary: PhaseChaitin::yank_if_dead() should be able to handle MachTemp inputs as a special case and yank them.
Reviewed-by: never, kvn
author | roland |
---|---|
date | Thu, 08 Sep 2011 09:35:41 +0200 |
parents | 361783318e7e |
children | f6f3bb0ee072 |
comparison
equal
deleted
inserted
replaced
3933:fdcb1e828d53 | 3934:8f47d8870d9a |
---|---|
480 old->replace_by(v); | 480 old->replace_by(v); |
481 return yank_if_dead(old, current_block, &value, ®nd); | 481 return yank_if_dead(old, current_block, &value, ®nd); |
482 } | 482 } |
483 | 483 |
484 int yank_if_dead( Node *old, Block *current_block, Node_List *value, Node_List *regnd ); | 484 int yank_if_dead( Node *old, Block *current_block, Node_List *value, Node_List *regnd ); |
485 int yank( Node *old, Block *current_block, Node_List *value, Node_List *regnd ); | |
485 int elide_copy( Node *n, int k, Block *current_block, Node_List &value, Node_List ®nd, bool can_change_regs ); | 486 int elide_copy( Node *n, int k, Block *current_block, Node_List &value, Node_List ®nd, bool can_change_regs ); |
486 int use_prior_register( Node *copy, uint idx, Node *def, Block *current_block, Node_List &value, Node_List ®nd ); | 487 int use_prior_register( Node *copy, uint idx, Node *def, Block *current_block, Node_List &value, Node_List ®nd ); |
487 bool may_be_copy_of_callee( Node *def ) const; | 488 bool may_be_copy_of_callee( Node *def ) const; |
488 | 489 |
489 // If nreg already contains the same constant as val then eliminate it | 490 // If nreg already contains the same constant as val then eliminate it |