Skip to content

Add optimization for simple multideref function calls #20991

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

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions cop.h
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,11 @@ the octets.

#include "mydtrace.h"

struct cop_mdacc {
UNOP_AUX_item *cop_mdacc_get;
};
typedef struct cop_mdacc COP_mdacc;

struct cop {
BASEOP
/* On LP64 putting this here takes advantage of the fact that BASEOP isn't
Expand Down Expand Up @@ -462,6 +467,9 @@ struct cop {
notice. Use the macros to test for features.
*/
U32 cop_features;

/* Pointer to a copy of the accessor's multideref */
COP_mdacc cop_md_accessor;
};

/*
Expand Down
4 changes: 4 additions & 0 deletions lib/B/Op_private.pm

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

206 changes: 104 additions & 102 deletions opcode.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading