code generation for boolean assignment by conditional expression