split out dirty recomputation logic from Edge class
authorEvan Martin <martine@danga.com>
Sun, 2 Sep 2012 18:03:01 +0000 (11:03 -0700)
committerEvan Martin <martine@danga.com>
Sun, 2 Sep 2012 18:05:51 +0000 (11:05 -0700)
commitfd91e0dc26d18209f7625730bb0e653f8321fff9
tree3220f1082693486d0b2ba196afe3e791aecff3c7
parentdf6d995790ee15317fd9ddb47c9d59f30265afe5
split out dirty recomputation logic from Edge class

Rather than passing States and DiskInterfaces through all the calls,
put the necessary ambient information in a new DependencyScan object
and move the code accordingly.

Note: I didn't move the source location of the functions to preserve
history, though this does result in a sort of weird order for the
functions in graph.cc.
src/build.cc
src/build.h
src/disk_interface_test.cc
src/graph.cc
src/graph.h
src/graph_test.cc