1. 11 8月, 2017 6 次提交
    • A
      Remove RemoveUnneededReferences from LamdaRewriter (#21367) · caa78300
      Andy Gocke 提交于
      Currently, the lambda rewriter has an early optimization pass in
      analysis that tries to find all local functions that only capture 'this'
      and remove references to local functions that do the same. There are two
      problems with this approach:
      
          1) Generally, removing information from the tree is a bad idea
          because it hurts further analysis passes that may have needed that
          information.
      
          2) The optimization strategy itself is very tricky and has a number
          of complex corner cases. This has lead to bugs, for example #19033.
      
      This PR deletes the current method and adds a new optimization routine
      at the end of the analysis, operating on assigned scopes and
      environments rather than removing captured variable analysis. The new
      optimization is as follows: if we end up with an environment containing
      only 'this', the environment can be removed, all containing methods can
      be moved to the top-level type, and all environments which capture the
      'this' environment can instead directly capture the 'this' parameter.
      This produces almost the same results as the previous optimization, but
      is easier to validate as an algebraic equivalence.
      
      The baseline changes come from the new optimization being less aggressive 
      about moving functions which only capture 'this' to the top level. This
      appears to be a wash -- some codegen gets slightly better, some gets
      slightly worse.
      
      Fixes #19033
      Fixes #20577
      caa78300
    • T
      Enable embedding sources to Windows PDBs (#21391) · 1c1fbc6b
      Tomáš Matoušek 提交于
      * Compare lines instead of using AssertXml when validating PDBs.
      
      AssertXml doesn't validate ordering.
      
      * Reorder expected PDB XML nodes to match actual order
      
      * Update to the latest Microsoft.DiaSymReader.* packages.
      
      * Enable embedding sources to Windows PDBs
      1c1fbc6b
    • T
      29a697bb
    • C
      Merge pull request #21425 from CyrusNajmabadi/caseKeywordRecommend · 2af7f65e
      CyrusNajmabadi 提交于
      Recommend 'case' keyword after a pattern-case-clause.
      2af7f65e
    • C
      83409bb2
    • C
      Merge pull request #21410 from CyrusNajmabadi/bannerLength · 9088021a
      CyrusNajmabadi 提交于
      Trim the length of the banner that we show for outlining down a bit.
      9088021a
  2. 10 8月, 2017 6 次提交
  3. 09 8月, 2017 16 次提交
  4. 08 8月, 2017 9 次提交
  5. 05 8月, 2017 3 次提交