소스 검색

+ encode the end_function dummy instruction

Nikolay Nikolov 4 년 전
부모
커밋
079e5ae151
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      compiler/wasm32/aasmcpu.pas

+ 4 - 0
compiler/wasm32/aasmcpu.pas

@@ -548,6 +548,8 @@ implementation
                     internalerror(2021092011);
                 end;
             end;
+          a_end_function:
+            result:=0;
           else
             Writeln('Warning! Not implemented opcode, pass1: ', opcode);
         end;
@@ -955,6 +957,8 @@ implementation
                     internalerror(2021092011);
                 end;
             end;
+          a_end_function:
+            ;
           else
             Writeln('Warning! Not implemented opcode, pass2: ', opcode);
         end;