summaryrefslogtreecommitdiffstats
path: root/src/expr.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2024-02-05 15:13:38 -0500
committerTavian Barnes <tavianator@tavianator.com>2024-02-06 15:22:39 -0500
commit5f0958fa57770e13b8696b8ee6fc87890333d90b (patch)
treed365645b2fd7f9625effdff8e656b59ea10763af /src/expr.h
parent6bb323d446e2500c5a20866b56335ac8633e1c23 (diff)
downloadbfs-5f0958fa57770e13b8696b8ee6fc87890333d90b.tar.xz
opt: Enable BFTW_STAT when profitable
Diffstat (limited to 'src/expr.h')
-rw-r--r--src/expr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/expr.h b/src/expr.h
index 4d607a4..349e052 100644
--- a/src/expr.h
+++ b/src/expr.h
@@ -110,6 +110,8 @@ struct bfs_expr {
bool always_true;
/** Whether this expression always evaluates to false. */
bool always_false;
+ /** Whether this expression uses stat(). */
+ bool calls_stat;
/** Estimated cost. */
float cost;