# HG changeset patch # User Miguel Garcia # Date 1398775677 -7200 # Node ID 30290fbe25b9a2c88808ed132d68fd4af319a390 # Parent edf0c031da766b7cac76e0e0a6a93784aa58e28f [flow-sensitive] better encapsulation, CastCheckExtractor diff -r edf0c031da76 -r 30290fbe25b9 graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/cfs/CastCheckExtractor.java --- a/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/cfs/CastCheckExtractor.java Tue Apr 29 14:42:51 2014 +0200 +++ b/graal/com.oracle.graal.phases.common/src/com/oracle/graal/phases/common/cfs/CastCheckExtractor.java Tue Apr 29 14:47:57 2014 +0200 @@ -42,7 +42,7 @@ this.subject = subject; } - static CastCheckExtractor extractCastCheckInfo(LogicNode x, LogicNode y) { + private static CastCheckExtractor extractCastCheckInfo(LogicNode x, LogicNode y) { if (x instanceof IsNullNode) { IsNullNode isNull = (IsNullNode) x; ValueNode subject = isNull.object(); @@ -77,7 +77,7 @@ /** * Porcelain method. */ - public static boolean isInstanceOfCheckOn(LogicNode cond, ValueNode subject) { + static boolean isInstanceOfCheckOn(LogicNode cond, ValueNode subject) { if (!(cond instanceof InstanceOfNode)) { return false; }