浏览代码

handle more locations in tm68knotnode, fixes several tests failing to compile with 200203223

git-svn-id: trunk@25746 -
Károly Balogh 11 年之前
父节点
当前提交
db49a169cb
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      compiler/m68k/n68kmat.pas

+ 5 - 1
compiler/m68k/n68kmat.pas

@@ -111,7 +111,11 @@ implementation
               LOC_REGISTER,
               LOC_REGISTER,
               LOC_CREGISTER,
               LOC_CREGISTER,
               LOC_REFERENCE,
               LOC_REFERENCE,
-              LOC_CREFERENCE :
+              LOC_CREFERENCE,
+              LOC_SUBSETREG,
+              LOC_CSUBSETREG,
+              LOC_SUBSETREF,
+              LOC_CSUBSETREF:
                 begin
                 begin
                   hlcg.location_force_reg(current_asmdata.CurrAsmList,left.location,left.resultdef,resultdef,true);
                   hlcg.location_force_reg(current_asmdata.CurrAsmList,left.location,left.resultdef,resultdef,true);
                   current_asmdata.CurrAsmList.concat(taicpu.op_reg(A_TST,tcgsize2opsize[opsize],left.location.register));
                   current_asmdata.CurrAsmList.concat(taicpu.op_reg(A_TST,tcgsize2opsize[opsize],left.location.register));