Explorar el Código

* use queue_is_active() method to determine whether the complex typed
expression queue is active rather than the existing ad hoc check,
which failed when no item had been added to the queue yet

git-svn-id: trunk@31059 -

Jonas Maebe hace 10 años
padre
commit
494206fd6a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      compiler/llvm/nllvmtcon.pas

+ 1 - 1
compiler/llvm/nllvmtcon.pas

@@ -174,7 +174,7 @@ implementation
       kind: ttypedconstkind;
       info: tllvmaggregateinformation;
     begin
-      if assigned(fqueued_tai) then
+      if queue_is_active then
         begin
           kind:=tck_simple;
           { finalise the queued expression }