Jelajahi Sumber

* internalerror in case a stringdef manages to get through to
tjvmvecnode.pass_generate_code() (should be handled earlier)

git-svn-id: branches/jvmbackend@18573 -

Jonas Maebe 14 tahun lalu
induk
melakukan
207a4a32d3
1 mengubah file dengan 1 tambahan dan 6 penghapusan
  1. 1 6
      compiler/jvm/njvmmem.pas

+ 1 - 6
compiler/jvm/njvmmem.pas

@@ -199,13 +199,8 @@ implementation
       var
         newsize: tcgsize;
       begin
-{$ifndef nounsupported}
         if left.resultdef.typ=stringdef then
-          begin
-            location:=left.location;
-            exit;
-          end;
-{$endif}
+          internalerror(2011052702);
 
         { This routine is not used for Strings, as they are a class type and
           you have to use charAt() there to load a character (and you cannot