refactor RecomputeOutputDirty to return true/false for dirty
authorEvan Martin <martine@danga.com>
Sun, 4 Dec 2011 20:15:27 +0000 (12:15 -0800)
committerEvan Martin <martine@danga.com>
Sun, 4 Dec 2011 20:16:47 +0000 (12:16 -0800)
commitd412c2cfec1f8cd4d6a94a895773fb7c562c839c
tree40e303a715e295c0886320f0c16a049cab746c6e
parenta756c374310d028e90fd89b7c30949f032d6aa36
refactor RecomputeOutputDirty to return true/false for dirty

Rather than taking whether the edge is dirty as an input, instead
only consider the arguments and return true/false, allowing the caller
to decide what to do with that information.  (In the restat case we
were faking out the environment to get particular behavior for this.)

Should have no side effects, but this is part of fixing issue 148.
src/build.cc
src/graph.cc
src/graph.h