phillipstanleymarbell / Noisy-lang-compiler

Noisy language compiler
MIT License
17 stars 1 forks source link

Issue 609 - Enhance InferBound #610

Closed PeiMu closed 1 year ago

PeiMu commented 2 years ago

This is a draft PR aiming to enhance the inferBound, including:

  1. infer the range of the result of function call
  2. deal with structure, union and array access
  3. add the liveness information into virtualRegisterRange
  4. etc.

Closes https://github.com/phillipstanleymarbell/Noisy-lang-compiler/issues/609.

PeiMu commented 2 years ago

This is a draft PR, which checkout from the PR-605. It will be rebased after the PR-605 is merged.

PeiMu commented 1 year ago

There are definitely things we can refactor, but given its size, we can leave those for subsequent (clear and concise) PRs.

Unless we need to do a clean-up on the commits, LGTM.

Great job @PeiMu!

Many thanks for your review! I merged this PR.