소스 검색

* 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 년 전
부모
커밋
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 }