summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-07 08:06:19 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 08:24:27 (GMT)
commitb1ff32afc67799d08130d457347290a41e426ed0 (patch)
tree4e52c69e1daba8fa4995077f7870cb76503da65c
parentdd0417c7becb9d00bf60827d299b3d520bb138c5 (diff)
downloadCMake-b1ff32afc67799d08130d457347290a41e426ed0.zip
CMake-b1ff32afc67799d08130d457347290a41e426ed0.tar.gz
CMake-b1ff32afc67799d08130d457347290a41e426ed0.tar.bz2
cmOrderDirectories: Re-arrange data layout.
Size goes from 680 to 672 bytes.
-rw-r--r--Source/cmOrderDirectories.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmOrderDirectories.h b/Source/cmOrderDirectories.h
index 07c85dd..cb5a51f 100644
--- a/Source/cmOrderDirectories.h
+++ b/Source/cmOrderDirectories.h
@@ -44,8 +44,6 @@ private:
cmTarget const* Target;
std::string Purpose;
- bool Computed;
-
std::vector<std::string> OrderedDirectories;
std::vector<cmOrderDirectoriesConstraint*> ConstraintEntries;
@@ -68,8 +66,9 @@ private:
void OrderDirectories();
void VisitDirectory(unsigned int i);
void DiagnoseCycle();
- bool CycleDiagnosed;
int WalkId;
+ bool CycleDiagnosed;
+ bool Computed;
// Adjacency-list representation of runtime path ordering graph.
// This maps from directory to those that must come *before* it.