aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test-unssa.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-08-23 13:53:48 +0200
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2017-11-13 12:48:48 +0100
commitec09161825544d4111b2d833fa66b1288f39f19c (patch)
treef555037c7c24f482036da741a3ad34de98fc7bab /test-unssa.c
parent8a1c335f12107f504bcb8733be357babfc0cb0b2 (diff)
downloadsparse-dev-ec09161825544d4111b2d833fa66b1288f39f19c.tar.gz
dump-ir: make it more flexible
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'test-unssa.c')
-rw-r--r--test-unssa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-unssa.c b/test-unssa.c
index e0981802..80752f43 100644
--- a/test-unssa.c
+++ b/test-unssa.c
@@ -62,7 +62,7 @@ static int compile(struct symbol_list *list)
struct entrypoint *ep;
expand_symbol(sym);
ep = linearize_symbol(sym);
- if (fdump_ir == 2)
+ if (!(fdump_ir & PASS_FINAL))
continue;
if (ep)
output_fn(ep);