diff src/share/vm/opto/superword.cpp @ 18041:52b4284cb496

Merge with jdk8u20-b26
author Gilles Duboscq <duboscq@ssw.jku.at>
date Wed, 15 Oct 2014 16:02:50 +0200
parents 89152779163c 42274879e644
children 7848fc12602b
line wrap: on
line diff
--- a/src/share/vm/opto/superword.cpp	Thu Oct 16 10:21:29 2014 +0200
+++ b/src/share/vm/opto/superword.cpp	Wed Oct 15 16:02:50 2014 +0200
@@ -1262,8 +1262,9 @@
     memops.clear();
     for (DUIterator i = upper_insert_pt->outs(); upper_insert_pt->has_out(i); i++) {
       Node* use = upper_insert_pt->out(i);
-      if (!use->is_Store())
+      if (use->is_Mem() && !use->is_Store()) {
         memops.push(use);
+      }
     }
 
     MemNode* lower_insert_pt = last;