Skip to content

Commit

Permalink
Generate null statements for conditional labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
steve committed May 3, 2001
1 parent 12229e4 commit b5e0f46
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions tgt-vvp/vvp_process.c
Expand Up @@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#if !defined(WINNT)
#ident "$Id: vvp_process.c,v 1.30 2001/04/21 03:26:23 steve Exp $"
#ident "$Id: vvp_process.c,v 1.31 2001/05/03 04:55:28 steve Exp $"
#endif

# include "vvp_priv.h"
Expand Down Expand Up @@ -345,14 +345,14 @@ static int show_stmt_condit(ivl_statement_t net, ivl_scope_t sscope)

if (ivl_stmt_cond_false(net)) {
fprintf(vvp_out, " %%jmp T_%d.%d;\n", thread_count, lab_out);
fprintf(vvp_out, "T_%d.%u\n", thread_count, lab_false);
fprintf(vvp_out, "T_%d.%u ;\n", thread_count, lab_false);

rc += show_statement(ivl_stmt_cond_false(net), sscope);

fprintf(vvp_out, "T_%d.%u\n", thread_count, lab_out);
fprintf(vvp_out, "T_%d.%u ;\n", thread_count, lab_out);

} else {
fprintf(vvp_out, "T_%d.%u\n", thread_count, lab_false);
fprintf(vvp_out, "T_%d.%u ;\n", thread_count, lab_false);
}

return rc;
Expand Down Expand Up @@ -751,6 +751,9 @@ int draw_func_definition(ivl_scope_t scope)

/*
* $Log: vvp_process.c,v $
* Revision 1.31 2001/05/03 04:55:28 steve
* Generate null statements for conditional labels.
*
* Revision 1.30 2001/04/21 03:26:23 steve
* Right shift by constant.
*
Expand Down

0 comments on commit b5e0f46

Please sign in to comment.