-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[PATCH] Shrink arg to S_lop() to U8 from int #15695
Comments
From @petdanceCreated by @petdanceThe second argument to S_lop() is an int, but it gets stored in Perl Info
|
From @petdancelop.diffdiff --git a/embed.fnc b/embed.fnc
index d6312dc..a83372f 100644
--- a/embed.fnc
+++ b/embed.fnc
@@ -2607,7 +2607,7 @@ s |void |force_ident_maybe_lex|char pit
s |void |incline |NN const char *s
s |int |intuit_method |NN char *s|NULLOK SV *ioname|NULLOK CV *cv
s |int |intuit_more |NN char *s
-s |I32 |lop |I32 f|int x|NN char *s
+s |I32 |lop |I32 f|U8 x|NN char *s
rs |void |missingterm |NULLOK char *s
s |void |no_op |NN const char *const what|NULLOK char *s
s |int |pending_ident
diff --git a/proto.h b/proto.h
index 6708016..2e6dbf2 100644
--- a/proto.h
+++ b/proto.h
@@ -5488,7 +5488,7 @@ STATIC int S_intuit_method(pTHX_ char *s, SV *ioname, CV *cv);
STATIC int S_intuit_more(pTHX_ char *s);
#define PERL_ARGS_ASSERT_INTUIT_MORE \
assert(s)
-STATIC I32 S_lop(pTHX_ I32 f, int x, char *s);
+STATIC I32 S_lop(pTHX_ I32 f, U8 x, char *s);
#define PERL_ARGS_ASSERT_LOP \
assert(s)
PERL_STATIC_NO_RET void S_missingterm(pTHX_ char *s)
diff --git a/toke.c b/toke.c
index ffac930..2495bc2 100644
--- a/toke.c
+++ b/toke.c
@@ -1890,7 +1890,7 @@ S_check_uni(pTHX)
*/
STATIC I32
-S_lop(pTHX_ I32 f, int x, char *s)
+S_lop(pTHX_ I32 f, U8 x, char *s)
{
PERL_ARGS_ASSERT_LOP;
|
From @petdanceThis is a smaller version of a patch that started in #129998. |
From [Unknown Contact. See original ticket]This is a smaller version of a patch that started in #129998. |
From @iabynOn Wed, Nov 02, 2016 at 07:16:39PM -0700, Andy Lester wrote:
Thanks, applied as v5.25.6-154-g11288bb -- |
The RT System itself - Status changed from 'new' to 'open' |
From @tonycozOn Thu, 03 Nov 2016 04:02:03 -0700, davem wrote:
And closed. Tony |
@tonycoz - Status changed from 'open' to 'pending release' |
From @khwilliamsonThank you for filing this report. You have helped make Perl better. With the release today of Perl 5.26.0, this and 210 other issues have been Perl 5.26.0 may be downloaded via: If you find that the problem persists, feel free to reopen this ticket. |
@khwilliamson - Status changed from 'pending release' to 'resolved' |
Migrated from rt.perl.org#130008 (status was 'resolved')
Searchable as RT130008$
The text was updated successfully, but these errors were encountered: