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-04-26 13:03:01 +0200
commit6f0dcad4f66d752f777a28e456967e638a0c8a79 (patch)
tree1dbf14f243e845c04e4878554c76153638ae2bca /src
parent9b3c14b58abd987d9eb992b04f1f10ee8a6c91f7 (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