OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7539ac7
)
ra: Delete the conflict lists in ra_set_finalize
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Fri, 31 Jul 2015 03:53:04 +0000
(20:53 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 10 Aug 2015 18:58:58 +0000
(11:58 -0700)
They are never used after the set is finalized so there's no reason to keep
them around.
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/util/register_allocate.c
patch
|
blob
|
history
diff --git
a/src/util/register_allocate.c
b/src/util/register_allocate.c
index
129d58d
..
436e008
100644
(file)
--- a/
src/util/register_allocate.c
+++ b/
src/util/register_allocate.c
@@
-348,6
+348,11
@@
ra_set_finalize(struct ra_regs *regs, unsigned int **q_values)
}
}
}
+
+ for (b = 0; b < regs->count; b++) {
+ ralloc_free(regs->regs[b].conflict_list);
+ regs->regs[b].conflict_list = NULL;
+ }
}
static void