Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
31c92862
Commit
31c92862
authored
Aug 07, 2014
by
dbarbera
Browse files
Fixed basic block names in logic expressions
parent
64c7f785
Changes
1
Hide whitespace changes
Inline
Side-by-side
LlvmGenerator.py
View file @
31c92862
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment