aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRSDuck <rsduck@users.noreply.github.com>2019-07-12 17:01:10 +0200
committerRSDuck <rsduck@users.noreply.github.com>2020-06-16 11:53:11 +0200
commit24aff49ae496b2401039b09e120dd0fcbd7b8e9e (patch)
treeb531b1c4414aa079a4b32ddf89369069406ce0e5 /src
parent9336fcbbe66be0b65f036f26899e413be54c3491 (diff)
jit: fix wrongly placed const
Diffstat (limited to 'src')
-rw-r--r--src/ARMJIT_x64/ARMJIT_Compiler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ARMJIT_x64/ARMJIT_Compiler.cpp b/src/ARMJIT_x64/ARMJIT_Compiler.cpp
index b6dd529..e043f58 100644
--- a/src/ARMJIT_x64/ARMJIT_Compiler.cpp
+++ b/src/ARMJIT_x64/ARMJIT_Compiler.cpp
@@ -328,7 +328,7 @@ CompileFunc Compiler::GetCompFunc(int kind)
{
// this might look like waste of space, so many repeatitions, but it's invaluable for debugging.
// see ARMInstrInfo.h for the order
- const CompileFunc A_Comp[ARMInstrInfo::ak_Count] =
+ CompileFunc const A_Comp[ARMInstrInfo::ak_Count] =
{
// AND
A_Comp_Arith, A_Comp_Arith, A_Comp_Arith, A_Comp_Arith, A_Comp_Arith, A_Comp_Arith, A_Comp_Arith, A_Comp_Arith, A_Comp_Arith,
@@ -410,7 +410,7 @@ CompileFunc Compiler::GetCompFunc(int kind)
NULL, NULL, NULL, NULL, NULL, NULL, NULL,
};
- const CompileFunc T_Comp[ARMInstrInfo::tk_Count] = {
+ CompileFunc const T_Comp[ARMInstrInfo::tk_Count] = {
// Shift imm
T_Comp_ShiftImm, T_Comp_ShiftImm, T_Comp_ShiftImm,
// Three operand ADD/SUB