jdk/src/share/classes/sun/tools/tree/IntegerExpression.java
changeset 25522 10d789df41bb
parent 5506 202f599c92aa
equal deleted inserted replaced
25521:80551dd1d902 25522:10d789df41bb
    68 
    68 
    69     /**
    69     /**
    70      * Get the value
    70      * Get the value
    71      */
    71      */
    72     public Object getValue() {
    72     public Object getValue() {
    73         return new Integer(value);
    73         return value;
    74     }
    74     }
    75 
    75 
    76     /**
    76     /**
    77      * Check if the expression is equal to a value
    77      * Check if the expression is equal to a value
    78      */
    78      */
    89 
    89 
    90     /**
    90     /**
    91      * Code
    91      * Code
    92      */
    92      */
    93     public void codeValue(Environment env, Context ctx, Assembler asm) {
    93     public void codeValue(Environment env, Context ctx, Assembler asm) {
    94         asm.add(where, opc_ldc, new Integer(value));
    94         asm.add(where, opc_ldc, value);
    95     }
    95     }
    96 }
    96 }