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

Sync to upstream/release/604 #1106

Merged
merged 8 commits into from
Nov 17, 2023
Merged

Sync to upstream/release/604 #1106

merged 8 commits into from
Nov 17, 2023

Conversation

andyfriesen
Copy link
Collaborator

New Solver

  • New algorithm for inferring the types of locals that have no annotations. This
    algorithm is very conservative by default, but is augmented with some control
    flow awareness to handle most common scenarios.
  • Fix bugs in type inference of tables
  • Improve performance of by switching out standard C++ containers for DenseHashMap
  • Infrastructure to support clearer error messages in strict mode

Native Code Generation

  • Fix a lowering issue with buffer.writeu8 and 0x80-0xff values: A constant
    argument wasn't truncated to the target type range and that causes an
    assertion failure in build.mov.
  • Store full lightuserdata value in loop iteration protocol lowering
  • Add analysis to compute function bytecode distribution
    • This includes a class to analyze the bytecode operator distribution per
      function and a CLI tool that produces a JSON report. See the new cmake
      target Luau.Bytecode.CLI

@andyfriesen andyfriesen merged commit 74c5320 into master Nov 17, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants