< prev index next >

src/share/vm/opto/lcm.cpp

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1998, 2016, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 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.

@@ -222,11 +222,11 @@
         const MachOper* oper = mach->memory_inputs(base, index);
         if (oper == NULL || oper == (MachOper*)-1) {
           continue;             // Not an memory op; skip it
         }
         if (val == base ||
-            val == index && val->bottom_type()->isa_narrowoop()) {
+            (val == index && val->bottom_type()->isa_narrowoop())) {
           break;                // Found it
         } else {
           continue;             // Skip it
         }
       }
< prev index next >