浏览代码

* don't initialize static arrays of records twice (g_newarray already
initializes them)

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

Jonas Maebe 14 年之前
父节点
当前提交
d33f71460f
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      compiler/jvm/tgcpu.pas

+ 0 - 3
compiler/jvm/tgcpu.pas

@@ -122,9 +122,6 @@ unit tgcpu;
                   eledef:=tarraydef(def).elementdef;
                   thlcgjvm(hlcg).g_newarray(list,def,ndim);
                   thlcgjvm(hlcg).a_load_stack_ref(list,java_jlobject,ref,0);
-                  { allocate the records }
-                  if is_record(eledef) then
-                    hlcg.g_initialize(list,def,ref);
                   result:=true;
                 end;
             end;