diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-02-07 21:56:00 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2017-02-07 21:56:00 -0500 |
commit | c71f44c5a86f41e65179633160edeb90a9543987 (patch) | |
tree | 4ac6881b1f8a0562d92f6d9df933fb6548f319a0 | |
parent | 8215b50a10e240581bd1f9e8ae4d13c48f865c6c (diff) | |
download | roux-c71f44c5a86f41e65179633160edeb90a9543987.tar.gz |
update assert() missed in 7e1c1f
-rw-r--r-- | cfg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cfg.c b/cfg.c index 8c6278f..e210589 100644 --- a/cfg.c +++ b/cfg.c @@ -93,7 +93,7 @@ rporec(Blk *b, uint x) x = rporec(s1, x); x = rporec(s2, x); b->id = x; - assert(x >= 0); + assert(x != -1u); return x - 1; } |