Browse Source

* call inherited inside twasminnode.checkgenjumps in order to initialize use_small

git-svn-id: trunk@48971 -
nickysn 4 years ago
parent
commit
76c61c3aac
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/wasm32/nwasmset.pas

+ 2 - 0
compiler/wasm32/nwasmset.pas

@@ -71,6 +71,8 @@ implementation
 
 
     function twasminnode.checkgenjumps(out setparts: Tsetparts; out numparts: byte; out use_small: boolean): boolean;
     function twasminnode.checkgenjumps(out setparts: Tsetparts; out numparts: byte; out use_small: boolean): boolean;
       begin
       begin
+        { call inherited to initialize use_small }
+        inherited;
         result:=false;
         result:=false;
       end;
       end;