Mercurial > hg > truffle
comparison src/share/vm/adlc/formssel.cpp @ 12953:1856ea98184a
8022783: Nashorn test fails with: assert(!def_outside->member(r))
Summary: Enables private copies of inputs for recent spill copies as well
Reviewed-by: kvn, twisti
author | adlertz |
---|---|
date | Fri, 18 Oct 2013 10:50:17 +0200 |
parents | c9ccd7b85f20 |
children | de6a9e811145 044b28168e20 |
comparison
equal
deleted
inserted
replaced
12888:4a2acfb16e97 | 12953:1856ea98184a |
---|---|
533 bool rematerialize = false; | 533 bool rematerialize = false; |
534 | 534 |
535 Form::DataType data_type = is_chain_of_constant(globals); | 535 Form::DataType data_type = is_chain_of_constant(globals); |
536 if( data_type != Form::none ) | 536 if( data_type != Form::none ) |
537 rematerialize = true; | 537 rematerialize = true; |
538 | |
539 // Ugly: until a better fix is implemented, disable rematerialization for | |
540 // negD nodes because they are proved to be problematic. | |
541 if (is_ideal_negD()) { | |
542 return false; | |
543 } | |
544 | 538 |
545 // Constants | 539 // Constants |
546 if( _components.count() == 1 && _components[0]->is(Component::USE_DEF) ) | 540 if( _components.count() == 1 && _components[0]->is(Component::USE_DEF) ) |
547 rematerialize = true; | 541 rematerialize = true; |
548 | 542 |