Просмотр исходного кода

* 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 лет назад
Родитель
Сommit
494206fd6a
1 измененных файлов с 1 добавлено и 1 удалено
  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 }