Permalink
Browse files

don't call mro_method_changed_in on anon stashes

  • Loading branch information...
1 parent e0cd2c9 commit 4eb02ba6963002b5d5e50d34f34cce59338e3ec4 @doy committed Dec 10, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 XS.xs
View
3 XS.xs
@@ -101,7 +101,8 @@
GvASSUMECV_on(g); \
} \
GvCVGEN(g) = 0; \
- mro_method_changed_in(GvSTASH(g)); \
+ if (HvENAME_get(GvSTASH(g))) \
+ mro_method_changed_in(GvSTASH(g)); \
} while (0)
#define GvSetIO(g,v) do { \
SvREFCNT_dec(GvIO(g)); \

0 comments on commit 4eb02ba

Please sign in to comment.