summaryrefslogtreecommitdiff
path: root/mro.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2011-10-07 11:39:50 -0700
committerFather Chrysostomos <sprout@cpan.org>2011-10-07 11:40:18 -0700
commitd0c0e7dd0ccf3d5c2f658529d3ee578a0bcb116e (patch)
treef416601f98df3da3bd38565e30c7013f072200ad /mro.c
parentb8fa52133ec35c6191dc536bb166eb31c1b6a887 (diff)
downloadperl-d0c0e7dd0ccf3d5c2f658529d3ee578a0bcb116e.tar.gz
Use HEKf
This avoids creating a lot of temporary SVs.
Diffstat (limited to 'mro.c')
-rw-r--r--mro.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mro.c b/mro.c
index 67c77ebe81..1d60387869 100644
--- a/mro.c
+++ b/mro.c
@@ -224,8 +224,9 @@ S_mro_get_linear_isa_dfs(pTHX_ HV *stash, U32 level)
Perl_croak(aTHX_ "Can't linearize anonymous symbol table");
if (level > 100)
- Perl_croak(aTHX_ "Recursive inheritance detected in package '%"SVf"'",
- SVfARG(sv_2mortal(newSVhek(stashhek))));
+ Perl_croak(aTHX_
+ "Recursive inheritance detected in package '%"HEKf"'",
+ HEKfARG(stashhek));
meta = HvMROMETA(stash);