소스 검색

+ internal error in thlcgwasm.prepare_stack_for_ref for symbol with registers

git-svn-id: branches/wasm@47170 -
nickysn 4 년 전
부모
커밋
9972d0e7d9
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      compiler/wasm32/hlcgcpu.pas

+ 2 - 0
compiler/wasm32/hlcgcpu.pas

@@ -1038,6 +1038,8 @@ implementation
           list.Concat(taicpu.op_const(a_i32_const,0));
           list.Concat(taicpu.op_const(a_i32_const,0));
           incstack(list,1);
           incstack(list,1);
           result:=1;
           result:=1;
+          if (ref.base<>NR_NO) or (ref.index<>NR_NO) then
+            internalerror(2020102401);
         end
         end
       else if ref.index <> NR_NO then // array access
       else if ref.index <> NR_NO then // array access
       begin
       begin