summaryrefslogtreecommitdiff
path: root/opcode.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2008-02-25 12:48:22 +0000
committerNicholas Clark <nick@ccl4.org>2008-02-25 12:48:22 +0000
commitc427f4d2d4575fbc8a5190932fe321136c7597b3 (patch)
treeba8cce560c51bedf1307426fbc8a73ea64a491f6 /opcode.h
parent553e7bb0c885d7b666ab73f45e41f7e6dab46330 (diff)
downloadperl-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcode.h b/opcode.h
index 29e4984a9e..aa57e212ae 100644
--- a/opcode.h
+++ b/opcode.h
@@ -1667,7 +1667,7 @@ EXTCONST U32 PL_opargs[] = {
0x0022281c, /* vec */
0x0122291c, /* index */
0x0122291c, /* rindex */
- 0x0004280d, /* sprintf */
+ 0x0004280f, /* sprintf */
0x00042805, /* formline */
0x0001379e, /* ord */
0x0001378e, /* chr */