|
@@ -491,11 +491,13 @@ implementation
|
|
|
{ Or someone has to rewrite the above to use a_op_const_reg_reg_ov }
|
|
|
{ and friends in case of overflow checking, and ask everyone to }
|
|
|
{ implement these methods since they don't exist for all cpus (JM) }
|
|
|
- if (cs_check_overflow in current_settings.localswitches) then
|
|
|
+ { Similarly, range checking also has to be handled separately, }
|
|
|
+ { see mantis #14841 (JM) }
|
|
|
+ if ([cs_check_overflow,cs_check_range] * current_settings.localswitches <> []) then
|
|
|
internalerror(2006111010);
|
|
|
- // cg.g_overflowcheck(current_asmdata.CurrAsmList,tcallparanode(left).left.location,tcallparanode(left).resultdef);
|
|
|
- cg.g_rangecheck(current_asmdata.CurrAsmList,tcallparanode(left).left.location,tcallparanode(left).left.resultdef,
|
|
|
- tcallparanode(left).left.resultdef);
|
|
|
+// cg.g_overflowcheck(current_asmdata.CurrAsmList,tcallparanode(left).left.location,tcallparanode(left).resultdef);
|
|
|
+// cg.g_rangecheck(current_asmdata.CurrAsmList,tcallparanode(left).left.location,tcallparanode(left).left.resultdef,
|
|
|
+// tcallparanode(left).left.resultdef);
|
|
|
end;
|
|
|
end;
|
|
|
|