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

Add a monomorphization cache to the declaration engine. #2637

Closed
wants to merge 1 commit into from

Commits on Sep 5, 2022

  1. Add a monomorphization cache to the declaration engine.

    This introduces a cache to the declaration engine that keeps track of
    functions/structs that have been instantiated from a specific set
    of type parameters.
    
    This was originally prototyped in
    tritao/declaration-engine-and-collection-context-demo@c3aa5e7,
    where these APIs where wired
    to the function application and struct expressions instantiation code.
    
    However given the declaration engine is not hooked up yet here, this
    PR is just adding the APIs, and more proper testing will be added as we
    wire things up.
    
    Closes FuelLabs#2636.
    tritao committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    44bd2c5 View commit details
    Browse the repository at this point in the history