aboutsummaryrefslogtreecommitdiff
path: root/build/algorithm.ixx
diff options
context:
space:
mode:
Diffstat (limited to 'build/algorithm.ixx')
-rw-r--r--build/algorithm.ixx8
1 files changed, 4 insertions, 4 deletions
diff --git a/build/algorithm.ixx b/build/algorithm.ixx
index e0b9364..ac2b1fc 100644
--- a/build/algorithm.ixx
+++ b/build/algorithm.ixx
@@ -68,11 +68,11 @@ namespace build
inline void
unmatch (action, target& t)
{
+ // text << "U " << t << ": " << t.dependents << " " << dependency_count;
+
assert (t.dependents != 0 && dependency_count != 0);
t.dependents--;
dependency_count--;
-
- // text << "U " << t << ": " << t.dependents << " " << dependency_count;
}
inline void
@@ -131,6 +131,8 @@ namespace build
inline target_state
execute (action a, target& t)
{
+ // text << "E " << t << ": " << t.dependents << " " << dependency_count;
+
if (dependency_count != 0) // Re-examination of a postponed target?
{
assert (t.dependents != 0);
@@ -138,8 +140,6 @@ namespace build
dependency_count--;
}
- // text << "E " << t << ": " << t.dependents << " " << dependency_count;
-
switch (target_state ts = t.state ())
{
case target_state::unchanged: