diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-02-15 03:55:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-03-02 14:03:34 +0200 |
commit | b37f1aa6398065be806e6605a023189685669885 (patch) | |
tree | b9b32091e3d70a31852302b24c99ecb62465464a /build2/file.ixx | |
parent | a64b2ae2099346471ead988d5f2d383d55a9bf89 (diff) |
Implement parallel match
Diffstat (limited to 'build2/file.ixx')
-rw-r--r-- | build2/file.ixx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/build2/file.ixx b/build2/file.ixx index be43857..15fa8dc 100644 --- a/build2/file.ixx +++ b/build2/file.ixx @@ -10,20 +10,20 @@ namespace build2 return source_once (root, base, bf, base); } - target* + const target* import (const prerequisite_key&, bool existing); - inline target& + inline const target& import (const prerequisite_key& pk) { - assert (phase == run_phase::search_match); + assert (phase == run_phase::match); return *import (pk, false); } inline const target* import_existing (const prerequisite_key& pk) { - assert (phase == run_phase::search_match || phase == run_phase::execute); + assert (phase == run_phase::match || phase == run_phase::execute); return import (pk, true); } } |