diff options
author | Father Chrysostomos <sprout@cpan.org> | 2011-04-08 09:08:02 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2011-04-08 09:08:02 -0700 |
commit | 85935d8e7bc504b57c9aea69973920ebe632631d (patch) | |
tree | 82c229e8eaafac84073041146672162488a3458b /pp.c | |
parent | 43fc90f5c25f6dcb07febda8166d26118d6ca29c (diff) | |
download | perl-85935d8e7bc504b57c9aea69973920ebe632631d.tar.gz |
Revert "[perl #87708] $tied / $tied under use integer"
This reverts most of commit 76422f81b675011beffbdb66c981a36b6fbf4a6b.
It is now unnecessary as of commit 75ea7a1.
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2846,14 +2846,15 @@ PP(pp_i_multiply) PP(pp_i_divide) { + IV num; dVAR; dSP; dATARGET; tryAMAGICbin_MG(div_amg, AMGf_assign); { dPOPTOPssrl; - IV num = SvIV_nomg(left); - IV value = left==right ? SvIV(right) : SvIV_nomg(right); + IV value = SvIV_nomg(right); if (value == 0) DIE(aTHX_ "Illegal division by zero"); + num = SvIV_nomg(left); /* avoid FPE_INTOVF on some platforms when num is IV_MIN */ if (value == -1) |