diff options
author | Nicholas Clark <nick@ccl4.org> | 2008-02-25 12:48:22 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2008-02-25 12:48:22 +0000 |
commit | c427f4d2d4575fbc8a5190932fe321136c7597b3 (patch) | |
tree | ba8cce560c51bedf1307426fbc8a73ea64a491f6 /opcode.h | |
parent | 553e7bb0c885d7b666ab73f45e41f7e6dab46330 (diff) | |
download | perl-c427f4d2d4575fbc8a5190932fe321136c7597b3.tar.gz |
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
Diffstat (limited to 'opcode.h')
-rw-r--r-- | opcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1667,7 +1667,7 @@ EXTCONST U32 PL_opargs[] = { 0x0022281c, /* vec */ 0x0122291c, /* index */ 0x0122291c, /* rindex */ - 0x0004280d, /* sprintf */ + 0x0004280f, /* sprintf */ 0x00042805, /* formline */ 0x0001379e, /* ord */ 0x0001378e, /* chr */ |