projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add some missing static and const qualifiers, reg_names only used if NDEBUG set
[qemu]
/
tcg
/
sparc
/
tcg-target.c
diff --git
a/tcg/sparc/tcg-target.c
b/tcg/sparc/tcg-target.c
index
f36796d
..
2c571a7
100644
(file)
--- a/
tcg/sparc/tcg-target.c
+++ b/
tcg/sparc/tcg-target.c
@@
-22,6
+22,7
@@
* THE SOFTWARE.
*/
+#ifndef NDEBUG
static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = {
"%g0",
"%g1",
@@
-56,6
+57,7
@@
static const char * const tcg_target_reg_names[TCG_TARGET_NB_REGS] = {
"%i6",
"%i7",
};
+#endif
static const int tcg_target_reg_alloc_order[] = {
TCG_REG_L0,