Skip to content

Commit 09aa01b

Browse files
committed
restructure: remove assert that clashes with constant instrs
1 parent 0cdb0d6 commit 09aa01b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shady/passes/opt_restructure.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ static const Node* process(Context* ctx, const Node* node) {
398398
return recreate_node_identity(&ctx->rewriter, node);
399399

400400
// These should all be manually visited by 'structure'
401-
assert(!is_terminator(node) && !is_instruction(node));
401+
// assert(!is_terminator(node) && !is_instruction(node));
402402

403403
switch (node->tag) {
404404
default: return recreate_node_identity(&ctx->rewriter, node);

0 commit comments

Comments
 (0)