OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13471ed
)
Added initialisers for reduction rule counters.
author
Lang Hames
<lhames@gmail.com>
Sun, 5 Sep 2010 13:42:32 +0000
(13:42 +0000)
committer
Lang Hames
<lhames@gmail.com>
Sun, 5 Sep 2010 13:42:32 +0000
(13:42 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113108
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/PBQP/Solution.h
patch
|
blob
|
history
diff --git
a/lib/CodeGen/PBQP/Solution.h
b/lib/CodeGen/PBQP/Solution.h
index
047fd04
..
9c40ed7
100644
(file)
--- 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(); }