nashorn/src/jdk/nashorn/internal/ir/Node.java
changeset 17756 daaa1e643f71
parent 17525 6582a7788183
child 17769 14ea7feaf658
equal deleted inserted replaced
17755:0150d0415000 17756:daaa1e643f71
   151     public Type getWidestOperationType() {
   151     public Type getWidestOperationType() {
   152         return Type.OBJECT;
   152         return Type.OBJECT;
   153     }
   153     }
   154 
   154 
   155     /**
   155     /**
       
   156      * Returns true if this node represents a comparison operator
       
   157      * @return true if comparison
       
   158      */
       
   159     public boolean isComparison() {
       
   160         return false;
       
   161     }
       
   162 
       
   163     /**
   156      * For reference copies - ensure that labels in the copy node are unique
   164      * For reference copies - ensure that labels in the copy node are unique
   157      * using an appropriate copy constructor
   165      * using an appropriate copy constructor
   158      * @param lc lexical context
   166      * @param lc lexical context
   159      * @return new node or same of no labels
   167      * @return new node or same of no labels
   160      */
   168      */