Browse Source

* list -> current_asmdata.CurrAsmList for cpuhighleveltarget code

git-svn-id: branches/jvmbackend@18302 -
Jonas Maebe 14 years ago
parent
commit
35ca5b799b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      compiler/ncgld.pas

+ 2 - 2
compiler/ncgld.pas

@@ -707,8 +707,8 @@ implementation
 {$ifndef cpuhighleveltarget}
 {$ifndef cpuhighleveltarget}
                           r:=cg.makeregsize(current_asmdata.CurrAsmList,right.location.register,OS_8);
                           r:=cg.makeregsize(current_asmdata.CurrAsmList,right.location.register,OS_8);
 {$else not cpuhighleveltarget}
 {$else not cpuhighleveltarget}
-                          r:=hlcg.getintregister(list,u8inttype);
-                          hlcg.a_load_reg_reg(list,u8inttype,u8inttype,right.locaction.register,r);
+                          r:=hlcg.getintregister(current_asmdata.CurrAsmList,u8inttype);
+                          hlcg.a_load_reg_reg(current_asmdata.CurrAsmList,u8inttype,u8inttype,right.location.register,r);
 {$endif cpuhighleveltarget}
 {$endif cpuhighleveltarget}
                           hlcg.a_load_reg_ref(current_asmdata.CurrAsmList,u8inttype,u8inttype,r,href);
                           hlcg.a_load_reg_ref(current_asmdata.CurrAsmList,u8inttype,u8inttype,r,href);
                         end;
                         end;