Skip to content
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

Temporary PR for Code Sharing - Fix for set/get_extra_info and global_modread #37

Closed
wants to merge 2 commits into from

Conversation

Samuel-Oglegba
Copy link
Collaborator

This a temporary PR to share code that addressed the following

  • Fix set_extra_info and get_extra_info to handle List of Symtabs
  • Add missing cases to global_modread
  • Fix Uop Bug in collect_global_read as shown in issue CODE.Uop#(_,rhs=_) bug in collect_global_read #33 by removing case: CODE.Uop#(,rhs=) and enumerate all Uop (by adding CODE.Uop#(.. "-"|"+"|"~",rhs).

@@ -67,10 +67,10 @@ Type Processing
enter_block("NEW");
foreach p = CODE.TypeInfo#(t=_,v=_,_) \in params do
XFORM.insert_typeInfo(t,v);
enddo;
return FunctionDecl[symtab=exit_block()]#(name,params,ret,body);
enddo
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Split your PR to commit one thing at a time. There is no call for you to change ExpStmt.incl. Your change for collect_mod is wrong. Your fix for get/set extra info is ok.

@Samuel-Oglegba Samuel-Oglegba deleted the feat_fix-set_extra_info_bug branch September 19, 2023 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants