jdk/src/share/classes/sun/tools/tree/BitNotExpression.java
changeset 25522 10d789df41bb
parent 25186 63e1a2ec30f5
equal deleted inserted replaced
25521:80551dd1d902 25522:10d789df41bb
    78      * Code
    78      * Code
    79      */
    79      */
    80     public void codeValue(Environment env, Context ctx, Assembler asm) {
    80     public void codeValue(Environment env, Context ctx, Assembler asm) {
    81         right.codeValue(env, ctx, asm);
    81         right.codeValue(env, ctx, asm);
    82         if (type.isType(TC_INT)) {
    82         if (type.isType(TC_INT)) {
    83             asm.add(where, opc_ldc, new Integer(-1));
    83             asm.add(where, opc_ldc, -1);
    84             asm.add(where, opc_ixor);
    84             asm.add(where, opc_ixor);
    85         } else {
    85         } else {
    86             asm.add(where, opc_ldc2_w, -1L);
    86             asm.add(where, opc_ldc2_w, -1L);
    87             asm.add(where, opc_lxor);
    87             asm.add(where, opc_lxor);
    88         }
    88         }