summaryrefslogtreecommitdiff
path: root/regen/opcodes
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2017-07-17 16:33:38 +0100
committerDavid Mitchell <davem@iabyn.com>2017-07-27 11:30:24 +0100
commite84e4286916d8a219c8a63468807b41df9cde7fe (patch)
treecd426bb11f4713d71bdd6a8cf8ac051c96fc03e5 /regen/opcodes
parentaa36782f823c559475544c99a66db74997ce1edf (diff)
downloadperl-e84e4286916d8a219c8a63468807b41df9cde7fe.tar.gz
Give OP_RV2HV a targ
OP_RV2AV already has one; its not clear why OP_RV2HV didn't. Having one means that in scalar context it can return an int value without having to create a mortal. Ditto when its doing 'keys %h' via OPpRV2HV_ISKEYS.
Diffstat (limited to 'regen/opcodes')
-rw-r--r--regen/opcodes2
1 files changed, 1 insertions, 1 deletions
diff --git a/regen/opcodes b/regen/opcodes
index 58d08c3f3c..137a44f6b9 100644
--- a/regen/opcodes
+++ b/regen/opcodes
@@ -238,7 +238,7 @@ values values ck_each dt% H
keys keys ck_each t% H
delete delete ck_delete % S
exists exists ck_exists is% S
-rv2hv hash dereference ck_rvconst d1
+rv2hv hash dereference ck_rvconst dt1
helem hash element ck_null s2 H S
hslice hash slice ck_null m@ H L
kvhslice key/value hash slice ck_null m@ H L