isl_ast_build_expr_from_basic_set: do not use freed bset to get ctx
commit2735d4e21746fdd89ff900d8d09d6178551c3953
authorTobias Grosser <tobias@grosser.es>
Tue, 21 Jul 2015 20:19:38 +0000 (21 22:19 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 21 Jul 2015 20:33:43 +0000 (21 22:33 +0200)
tree569196c642f2dc54e234ce2f8a86824728e85950
parentcff79d10cda2a77ead49e18a86333a107a99f6c5
isl_ast_build_expr_from_basic_set: do not use freed bset to get ctx

Instead of using a basic that that has been freed a couple of lines
earlier, we get the current context from the constraint list readily
available at the place where we need the isl_ctx.

Signed-off-by: Tobias Grosser <tobias@grosser.es>
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_ast_build_expr.c