Quellcode durchsuchen

* 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 vor 10 Jahren
Ursprung
Commit
494206fd6a
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 }