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

Handle GlobalCtxt directly from librustc_interface query system #66791

Merged
merged 20 commits into from
Nov 30, 2019

Commits on Nov 24, 2019

  1. Configuration menu
    Copy the full SHA
    266ede1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5098ba6 View commit details
    Browse the repository at this point in the history
  3. Tidy.

    cjgillot committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    27513a2 View commit details
    Browse the repository at this point in the history
  4. Fix test.

    cjgillot committed Nov 24, 2019
    Configuration menu
    Copy the full SHA
    becfe5c View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2019

  1. Remove wrong comment.

    cjgillot committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    18bb912 View commit details
    Browse the repository at this point in the history
  2. Pass Queries by reference.

    cjgillot committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    ea1b803 View commit details
    Browse the repository at this point in the history
  3. Simplify early exits.

    cjgillot committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    7d01b6c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8ffc944 View commit details
    Browse the repository at this point in the history
  5. Superfluous lifetime.

    cjgillot committed Nov 25, 2019
    Configuration menu
    Copy the full SHA
    9d5f721 View commit details
    Browse the repository at this point in the history

Commits on Nov 26, 2019

  1. Reduce righward drift.

    cjgillot committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    68b1ac9 View commit details
    Browse the repository at this point in the history
  2. Review nits.

    cjgillot committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    144d1c2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    58a9c73 View commit details
    Browse the repository at this point in the history
  4. Have Queries own the GlobalCtxt.

    The construction of the GlobalCtxt is moved from a generator's stack to
    the Queries struct.  Since the GlobalCtxt requires the HIR Forest and the
    arenas to live longer, those are moved into Queries the same way.
    
    The resulting handling of objects is more brittle, because consumers of
    the Once objects need to be careful of their initialisation.
    cjgillot committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    b99513b View commit details
    Browse the repository at this point in the history
  5. Formatting.

    cjgillot committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    7b71e9a View commit details
    Browse the repository at this point in the history
  6. Move local Arena to Queries.

    cjgillot committed Nov 26, 2019
    Configuration menu
    Copy the full SHA
    7e72b36 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2019

  1. Rename lifetimes.

    cjgillot committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    79e2324 View commit details
    Browse the repository at this point in the history
  2. Rename BoxedGlobalCtxt.

    cjgillot committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    e5ed101 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    77a4c85 View commit details
    Browse the repository at this point in the history
  4. Misc renames.

    cjgillot committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    e321ba9 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    1e12f39 View commit details
    Browse the repository at this point in the history