浏览代码

* left has been forced into a register of size uopdef a few statements
above, so pass uopdef rather than left.resultdef to a_bit_test_reg_loc_reg()
(part of fixing tests/tbs/tb0219.pp for llvm)

git-svn-id: trunk@34122 -

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

+ 1 - 1
compiler/ncgset.pas

@@ -407,7 +407,7 @@ implementation
                       a_bit_test_reg_loc_reg() properly takes into account the
                       size of the set to adjust the register index to test }
                      hlcg.a_bit_test_reg_loc_reg(current_asmdata.CurrAsmList,
-                       left.resultdef,right.resultdef,uopdef,
+                       uopdef,right.resultdef,uopdef,
                        left.location.register,right.location,location.register);
 
                      { now zero the result if left > nr_of_bits_in_right_register }