Explorar el Código

* fixed class cast error

git-svn-id: trunk@12718 -
Jonas Maebe hace 16 años
padre
commit
73a394bca6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/arm/aasmcpu.pas

+ 1 - 1
compiler/arm/aasmcpu.pas

@@ -716,7 +716,7 @@ implementation
 
 
             { special case for case jump tables }
             { special case for case jump tables }
             if assigned(curtai.next) and
             if assigned(curtai.next) and
-              (taicpu(curtai.next).typ=ait_instruction) and
+              (tai(curtai.next).typ=ait_instruction) and
               (taicpu(curtai.next).opcode=A_LDR) and
               (taicpu(curtai.next).opcode=A_LDR) and
               (taicpu(curtai.next).oper[0]^.typ=top_reg) and
               (taicpu(curtai.next).oper[0]^.typ=top_reg) and
               (taicpu(curtai.next).oper[0]^.reg=NR_PC) then
               (taicpu(curtai.next).oper[0]^.reg=NR_PC) then