equal
deleted
inserted
replaced
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 } |