8022783: Nashorn test fails with: assert(!def_outside->member(r))

Enables private copies of inputs for recent spill copies as well

Reviewed-by: kvn, twisti
This commit is contained in:
Niclas Adlertz 2013-10-18 10:50:17 +02:00
parent 0e8081e57b
commit 3838ed7b68
2 changed files with 5 additions and 21 deletions

View file

@ -536,12 +536,6 @@ bool InstructForm::rematerialize(FormDict &globals, RegisterForm *registers ) {
if( data_type != Form::none )
rematerialize = true;
// Ugly: until a better fix is implemented, disable rematerialization for
// negD nodes because they are proved to be problematic.
if (is_ideal_negD()) {
return false;
}
// Constants
if( _components.count() == 1 && _components[0]->is(Component::USE_DEF) )
rematerialize = true;