diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-06-29 22:25:28 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-06-29 22:25:28 -0700 |
commit | 077da62ff955a1517f28fde7b6613d123050dbcb (patch) | |
tree | 8726d4d194bb8980ac3d58fefc928b4776e9cb42 /op.c | |
parent | 1b5aaca661f906a9b324afb51b7af8727497f276 (diff) | |
download | perl-077da62ff955a1517f28fde7b6613d123050dbcb.tar.gz |
op.c: S_op_integerize: -foo no longer needs an exception
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -3184,11 +3184,8 @@ S_op_integerize(pTHX_ OP *o) PERL_ARGS_ASSERT_OP_INTEGERIZE; - /* integerize op, unless it happens to be C<-foo>. - * XXX should pp_i_negate() do magic string negation instead? */ - if ((PL_opargs[type] & OA_OTHERINT) && (PL_hints & HINT_INTEGER) - && !(type == OP_NEGATE && cUNOPo->op_first->op_type == OP_CONST - && (cUNOPo->op_first->op_private & OPpCONST_BARE))) + /* integerize op. */ + if ((PL_opargs[type] & OA_OTHERINT) && (PL_hints & HINT_INTEGER)) { dVAR; o->op_ppaddr = PL_ppaddr[type = ++(o->op_type)]; |