* forgotten commit of r3566

git-svn-id: trunk@3569 -
This commit is contained in:
florian 2006-05-18 20:43:16 +00:00
parent 1e3352a350
commit f27fa0d24f

View File

@ -958,7 +958,7 @@ implementation
{ division by 1 returns result }
if a = 1 then
op:=OP_NONE
else if ispowerof2(int64(a), powerval) then
else if ispowerof2(int64(a), powerval) and not(cs_check_overflow in aktlocalswitches) then
begin
a := powerval;
op:= OP_SHR;
@ -976,7 +976,7 @@ implementation
else
if a=0 then
op:=OP_MOVE
else if ispowerof2(int64(a), powerval) then
else if ispowerof2(int64(a), powerval) and not(cs_check_overflow in aktlocalswitches) then
begin
a := powerval;
op:= OP_SHL;