projects
/
contrib
/
beignet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf56695
)
Fixed a type in a range-based for loop
author
Benjamin Segovia
<devnull@localhost>
Mon, 21 May 2012 03:31:57 +0000
(
03:31
+0000)
committer
Keith Packard
<keithp@keithp.com>
Fri, 10 Aug 2012 23:17:55 +0000
(16:17 -0700)
backend/src/ir/liveness.hpp
patch
|
blob
|
history
diff --git
a/backend/src/ir/liveness.hpp
b/backend/src/ir/liveness.hpp
index
8e98eb3
..
0c907d6
100644
(file)
--- a/
backend/src/ir/liveness.hpp
+++ b/
backend/src/ir/liveness.hpp
@@
-88,7
+88,7
@@
namespace ir {
template <DataFlowDirection dir, typename T>
void foreach(const T &functor) {
// Iterate on all blocks
- for (const auto pair : liveness) {
+ for (const auto
&
pair : liveness) {
BlockInfo &info = *pair.second;
const BasicBlock &bb = info.bb;
const BlockSet *set = NULL;