-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure stack-safety during closure-conversion.
ClosureConversion -> Suffix with "Old" CHANGELOG_BEGIN CHANGELOG_END ClosureConversion old-vs-new diff check ClosureConversionNew, first cut. All tests in SBuiltinTest work. In addition we change some Array --> List in SExpr1 (for human pp). And we throw away ClosureConversionDup. adapt AnfTest from Array to List change for SExpr1 all tests pass in daml-lf/interpreter remove SExpr0.SELet1General reorder things testing for stack-safety of closure conversion file/class renames improve naming pass cont as sep arg to commit (move out of Up/Down) comment stack-safe closure conversion fix bug: failed to use env1 fix 2x unmoored doc comment comment stack safety testing Remove old closure-conversion code & diff-check between old/new. loose StackSafe suffix on ClosureConversion class/file rename StackSafetyTest.scala to ClosureConversionTest.scala prefer "sealed abstract class" to "sealed trait" fvs.zipWithIndex --> fvs.view.zipWithIndex (SExpr1) SEAppGeneral -> SEApp; prefer List to Array in SEApp/SECase prefer xs.toArray to Array(xs: _*) access SExpr0 via "source." two more .view improve comment and fix typo link to Issue switch to a continuation stack; avoids nesting in the Cont type
- Loading branch information
1 parent
2d60ae8
commit 82223aa
Showing
10 changed files
with
476 additions
and
181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.