Ensure that constant folding runs with IN_PERL_RUNTIME true, by copying
authorNicholas Clark <nick@ccl4.org>
Mon, 25 Feb 2008 12:48:22 +0000 (12:48 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 25 Feb 2008 12:48:22 +0000 (12:48 +0000)
commitc427f4d2d4575fbc8a5190932fe321136c7597b3
treeba8cce560c51bedf1307426fbc8a73ea64a491f6
parent553e7bb0c885d7b666ab73f45e41f7e6dab46330
Ensure that constant folding runs with IN_PERL_RUNTIME true, by copying
the current compiling cop to a different address. This ensures that
lexical hints are correctly honoured, and allows us to fold sprintf.

p4raw-id: //depot/perl@33369
op.c
opcode.h
opcode.pl