Commit 31c92862 authored by dbarbera's avatar dbarbera
Browse files

Fixed basic block names in logic expressions

parent 64c7f785
...@@ -1068,9 +1068,9 @@ def _expr_logic(expr, ctx): ...@@ -1068,9 +1068,9 @@ def _expr_logic(expr, ctx):
elif bty.kind == 'SequenceOfType' and bty.Min == bty.Max: elif bty.kind == 'SequenceOfType' and bty.Min == bty.Max:
func = ctx.builder.basic_block.function func = ctx.builder.basic_block.function
body_block = func.append_basic_block('%s:body' % expr.operand) body_block = func.append_basic_block('bitwise:body')
next_block = func.append_basic_block('%s:next' % expr.operand) next_block = func.append_basic_block('bitwise:next')
end_block = func.append_basic_block('%s:end' % expr.operand) end_block = func.append_basic_block('bitwise:end')
left_ptr = expression(expr.left, ctx) left_ptr = expression(expr.left, ctx)
right_ptr = expression(expr.right, ctx) right_ptr = expression(expr.right, ctx)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment