Explorar o código

* fixed jvm compilation after r32517

git-svn-id: trunk@32549 -
Jonas Maebe %!s(int64=9) %!d(string=hai) anos
pai
achega
6735def16f
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      compiler/jvm/njvmcnv.pas
  2. 1 1
      compiler/jvm/njvmcon.pas

+ 1 - 1
compiler/jvm/njvmcnv.pas

@@ -476,7 +476,7 @@ implementation
                      { get the class representing the primitive type }
                      fvs:=search_struct_member(tobjectdef(corrclass),'FTYPE');
                      newpara:=nil;
-                     if not handle_staticfield_access(fvs,false,newpara) then
+                     if not handle_staticfield_access(fvs,newpara) then
                        internalerror(2011072417);
                    end
                  else

+ 1 - 1
compiler/jvm/njvmcon.pas

@@ -125,7 +125,7 @@ implementation
 
         { c) create loadnode of the field }
         result:=nil;
-        if not handle_staticfield_access(classfield,false,result) then
+        if not handle_staticfield_access(classfield,result) then
           internalerror(2011062606);
       end;