Browse Source

* 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 10 years ago
parent
commit
494206fd6a
1 changed files with 1 additions and 1 deletions
  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 }