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

Alias analysis #2

Merged
merged 17 commits into from
Jan 25, 2017
Merged

Alias analysis #2

merged 17 commits into from
Jan 25, 2017

Conversation

mikusp
Copy link

@mikusp mikusp commented Jan 23, 2017

No description provided.

@mikusp mikusp requested a review from kustosz January 23, 2017 15:30
varName :: MonadRef m => Expr Var -> SubPass AliasAnalysis m P.String
varName e = fmap (view lit) . match' =<< source =<< view name <$> match' e

modifyAttr :: forall m. MonadRef m => (RefData' Attr UsedVars (SubPass AliasAnalysis m) -> RefData' Attr UsedVars (SubPass AliasAnalysis m)) -> SubPass AliasAnalysis m ()
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks generally useful – how about generalizing the types and moving to Luna.IR.Internal.IR?

Copy link
Author

Choose a reason for hiding this comment

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

I agree

@kustosz
Copy link
Contributor

kustosz commented Jan 24, 2017

Type holes in specs + 2 fixes described in inline comments. Otherwise LGTM.

atLeastOneIsEqual <- forM args $ \(Arg _ n) -> do
n' <- source n
gatherVar n' f'
sameVar <- sameNameVar (unsafeRelayout properVar) (unsafeRelayout n')
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the assumption that n' is a var? How about (Just (Just x)) : x

@kustosz kustosz merged commit 5247334 into master Jan 25, 2017
@kustosz kustosz deleted the pass/vargathering branch January 25, 2017 12:40
@somebody1234 somebody1234 mentioned this pull request Mar 15, 2023
5 tasks
Procrat added a commit that referenced this pull request May 26, 2023
* Remove unused code: project management in component browser

* Encapsulate internal FRP logic of project list

* Collapse some code paths

* Open project passed on command line through presenter

A project name or ID that is passed on the command line was initialised
in the controller setup, before the presenters and views are set up.
Now, we fully initialise the IDE before opening a project so we have
control over the view while a project is being opened.

* Show a spinner in all cases of opening a project

* Let root presenter open/close projects when switching projects

* Change spinner to make progress over a fixed period

* Resolve issues when Project Manager API isn't available

* Bump wasm size limit
Procrat added a commit that referenced this pull request May 30, 2023
…le-6756-6804

* develop: (22 commits)
  Coalesce graph editor view invalidations (#6786)
  Append warnings extracted before tail call execution (#6849)
  Detect and override hooks of the same kind (#6842)
  Dynamic app resampling and better performance measurements. (#6595)
  Show spinner when opening/creating a project, take #2 (#6827)
  Infrastructure for testing inter project imports and exports (#6840)
  Only initialise visualisation chooser if it is used. (#6758)
  Allow casting a Mixed column into a concrete type (#6777)
  Stop graph editing when in full-screen visualization mode (#6844)
  Handle `show-dashboard` event (#6837)
  Fix some dashboard issues (#6668)
  Fix JWT leak (#6815)
  Fix "set username" screen (#6824)
  Fallback to opened date when ordering projects (#6814)
  Various test improvements to increase coverage and speed things up (#6820)
  do not activate nested dropdowns together (#6830)
  Clearly select single specialization with enum dispatch pattern (#6819)
  Prevent incorrect application of list widget on incompatible expressions (#6771)
  Update GraalVM to 22.3.1 JDK17 (#6750)
  Import/export syntax error have more specific messages (#6808)
  ...
farmaazon added a commit that referenced this pull request Jul 6, 2023
@MrFlashAccount MrFlashAccount mentioned this pull request May 6, 2024
5 tasks
farmaazon added a commit that referenced this pull request Oct 14, 2024
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