diff options
author | Lang Hames <lhames@gmail.com> | 2010-09-05 13:42:32 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2010-09-05 13:42:32 +0000 |
commit | 0ec2ca4855a9a7c035e48780481011e43ad2e75f (patch) | |
tree | d369239190ada78824a81bbf3987ae6d187499b4 | |
parent | 13471ed2e2a99a33881b90c4f36bbc56b30b2351 (diff) | |
download | external_llvm-0ec2ca4855a9a7c035e48780481011e43ad2e75f.zip external_llvm-0ec2ca4855a9a7c035e48780481011e43ad2e75f.tar.gz external_llvm-0ec2ca4855a9a7c035e48780481011e43ad2e75f.tar.bz2 |
Added initialisers for reduction rule counters.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113108 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/CodeGen/PBQP/Solution.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/CodeGen/PBQP/Solution.h b/lib/CodeGen/PBQP/Solution.h index 047fd04..9c40ed7 100644 --- a/lib/CodeGen/PBQP/Solution.h +++ b/lib/CodeGen/PBQP/Solution.h @@ -34,6 +34,10 @@ namespace PBQP { public: + /// \brief Initialise an empty solution. + Solution() + : r0Reductions(0), r1Reductions(0), r2Reductions(0), rNReductions(0) {} + /// \brief Number of nodes for which selections have been made. /// @return Number of nodes for which selections have been made. unsigned numNodes() const { return selections.size(); } |