equal
deleted
inserted
replaced
430 if (type.isType(TC_BOOLEAN)) { |
430 if (type.isType(TC_BOOLEAN)) { |
431 Label l1 = new Label(); |
431 Label l1 = new Label(); |
432 Label l2 = new Label(); |
432 Label l2 = new Label(); |
433 |
433 |
434 codeBranch(env, ctx, asm, l1, true); |
434 codeBranch(env, ctx, asm, l1, true); |
435 asm.add(true, where, opc_ldc, new Integer(0)); |
435 asm.add(true, where, opc_ldc, 0); |
436 asm.add(true, where, opc_goto, l2); |
436 asm.add(true, where, opc_goto, l2); |
437 asm.add(l1); |
437 asm.add(l1); |
438 asm.add(true, where, opc_ldc, new Integer(1)); |
438 asm.add(true, where, opc_ldc, 1); |
439 asm.add(l2); |
439 asm.add(l2); |
440 } else { |
440 } else { |
441 throw new CompilerError("codeValue"); |
441 throw new CompilerError("codeValue"); |
442 } |
442 } |
443 } |
443 } |