< prev index next >

src/share/vm/opto/parse1.cpp

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.

@@ -655,11 +655,11 @@
       }
 
       NOT_PRODUCT(blocks_parsed++);
 
       progress = true;
-      if (block->is_loop_head() || block->is_handler() || has_irreducible && !block->is_ready()) {
+      if (block->is_loop_head() || block->is_handler() || (has_irreducible && !block->is_ready())) {
         // Not all preds have been parsed.  We must build phis everywhere.
         // (Note that dead locals do not get phis built, ever.)
         ensure_phis_everywhere();
 
         if (block->is_SEL_head()) {

@@ -744,10 +744,12 @@
     v = gvn->transform(new AndINode(v, gvn->intcon(0xFFFF)));
     break;
   case T_BOOLEAN:
     v = gvn->transform(new AndINode(v, gvn->intcon(0x1)));
     break;
+  default:
+    break;
   }
   return v;
 }
 
 //-------------------------------build_exits----------------------------------
< prev index next >