summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--insns.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/insns.def b/insns.def
index 2690539085..5aa7957c5d 100644
--- a/insns.def
+++ b/insns.def
@@ -453,6 +453,7 @@ duparray
()
(VALUE val)
{
+ RUBY_DTRACE_CREATE_HOOK(ARRAY, RARRAY_LEN(ary));
val = rb_ary_resurrect(ary);
}
@@ -463,6 +464,7 @@ duphash
()
(VALUE val)
{
+ RUBY_DTRACE_CREATE_HOOK(HASH, RHASH_SIZE(hash) << 1);
val = rb_hash_resurrect(hash);
}