From c3258369cad3fe2a997f975a86f13f5c245be4d1 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Tue, 25 Jun 2013 21:47:44 -0700 Subject: [PATCH] op.c:ck_sort: Restore HINT_LOCALIZE_HH check I remove this by mistake in commit 354dd559d99. It makes no difference to the behaviour. This check is just for efficiency. --- op.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/op.c b/op.c index aaebdaa..41d8c92 100644 --- a/op.c +++ b/op.c @@ -9657,7 +9657,8 @@ Perl_ck_sort(pTHX_ OP *o) { dVAR; OP *firstkid; - HV * const hinthv = GvHV(PL_hintgv); + HV * const hinthv = + PL_hints & HINT_LOCALIZE_HH ? GvHV(PL_hintgv) : NULL; PERL_ARGS_ASSERT_CK_SORT; -- 2.7.4