diff 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
line wrap: on
line diff
--- a/src/share/vm/adlc/formssel.cpp	Fri Oct 11 12:06:14 2013 +0200
+++ b/src/share/vm/adlc/formssel.cpp	Fri Oct 18 10:50:17 2013 +0200
@@ -536,12 +536,6 @@
   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;