From 6f0dcad4f66d752f777a28e456967e638a0c8a79 Mon Sep 17 00:00:00 2001 From: RSDuck Date: Fri, 12 Jul 2019 17:01:10 +0200 Subject: jit: fix wrongly placed const --- src/ARMJIT_x64/ARMJIT_Compiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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 -- cgit v1.2.3