浏览代码

* corrected type passed to a_bit_test_reg_loc_reg() (we force left into
a register of size opdef before)

git-svn-id: trunk@31056 -

Jonas Maebe 10 年之前
父节点
当前提交
b9d4d9b141
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/ncgset.pas

+ 1 - 1
compiler/ncgset.pas

@@ -485,7 +485,7 @@ implementation
                          hlcg.a_label(current_asmdata.CurrAsmList, l);
                          hlcg.a_label(current_asmdata.CurrAsmList, l);
                        end;
                        end;
 
 
-                     hlcg.a_bit_test_reg_loc_reg(current_asmdata.CurrAsmList,left.resultdef,right.resultdef,uopdef,
+                     hlcg.a_bit_test_reg_loc_reg(current_asmdata.CurrAsmList,opdef,right.resultdef,uopdef,
                        pleftreg,right.location,location.register);
                        pleftreg,right.location,location.register);
 
 
                      if needslabel then
                      if needslabel then