summaryrefslogtreecommitdiff
path: root/inline_invlist.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-07-06 15:33:57 -0600
committerKarl Williamson <public@khwilliamson.com>2013-07-16 13:58:09 -0600
commitd361b00481905de183664c6b0d414fd509a0e68f (patch)
tree736bd60517eb512255a5628833960f67a3d70bd1 /inline_invlist.c
parente94d9b54a21e9546724df09abe1968bd32f833cf (diff)
downloadperl-d361b00481905de183664c6b0d414fd509a0e68f.tar.gz
Reinstate "Use new Svt_INVLIST for inversion lists."
This reverts commit 2e0b8fbeab3502bee36f25825c3cdd0d075c4fd3, which reverted e0ce103ae532f9576f54a5938a24d1ee98dfb928, thus reinstating the latter commit. It turns out that the error being chased down was not due to this commit. Its original message was: This converts inversion lists to use their own scalar type.
Diffstat (limited to 'inline_invlist.c')
-rw-r--r--inline_invlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inline_invlist.c b/inline_invlist.c
index ced42d85c0..a29964524b 100644
--- a/inline_invlist.c
+++ b/inline_invlist.c
@@ -21,7 +21,7 @@ S__get_invlist_len_addr(pTHX_ SV* invlist)
PERL_ARGS_ASSERT__GET_INVLIST_LEN_ADDR;
- return &(LvTARGLEN(invlist));
+ return &(((XINVLIST*) SvANY(invlist))->count);
}
PERL_STATIC_INLINE UV