projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87f9a7f
)
target/arm: Mark some arrays const
author
Richard Henderson
<richard.henderson@linaro.org>
Wed, 24 Oct 2018 06:50:18 +0000
(07:50 +0100)
committer
Peter Maydell
<peter.maydell@linaro.org>
Wed, 24 Oct 2018 06:51:37 +0000
(07:51 +0100)
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id:
20181011205206
.3552-6-richard.henderson@linaro.org
[PMM: drop change to now-deleted cpu_mode_names array]
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate.c
patch
|
blob
|
history
diff --git
a/target/arm/translate.c
b/target/arm/translate.c
index 7d7a48e5b93e8cd650c3d3be56689490a45c3110..869dadbe8dbd8e69453481f1fc7f4349eb767a8d 100644
(file)
--- a/
target/arm/translate.c
+++ b/
target/arm/translate.c
@@
-72,7
+72,7
@@
static TCGv_i64 cpu_F0d, cpu_F1d;
#include "exec/gen-icount.h"
-static const char *regnames[] =
+static const char *
const
regnames[] =
{ "r0", "r1", "r2", "r3", "r4", "r5", "r6", "r7",
"r8", "r9", "r10", "r11", "r12", "r13", "r14", "pc" };
@@
-4907,7
+4907,7
@@
static struct {
int nregs;
int interleave;
int spacing;
-} neon_ls_element_type[11] = {
+}
const
neon_ls_element_type[11] = {
{4, 4, 1},
{4, 4, 2},
{4, 1, 1},