| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Recompute final singleton-slot escapes after recursive types are interned. Preserve aggregate, mutable-slot, and opaque bounds. Sharper escapes allow unused imported helpers to die: restore their summaries when later direct calls appear, and retain native entries referenced by serialized IR even when lowering removes the last local caller. Seed those entries with analyzed ranges, and interpret only callback default memory as an outside interface. Add recursive-type and native interpolation regressions; full make -k -j8 tests passes (844 executions).
|
| |
|
|
| |
Keep prior public escapes and derive new escapes from the field value bounded by its declaration. Do not import unrelated aggregate-private escapes or broaden them when selecting a weaker alias slice. Cover callback publication, alias selection, borrows, and opaque referents. Full make -k -j8 tests passes.
|
| |
|
|
| |
Use the same defaultArg rule for parsed functions and imported summaries, while preserving broad signature bounds and actual call memory. Add source and separately compiled constructor regressions. Full make -k -j8 tests passes.
|
| |
|
|
| |
Restore a discarded private initializer summary when a later inline import reveals its direct call. Keep class-init dependencies for cycle checking without publishing their function pointers. Cover escape separation and unloaded private initializer cycles; full make -k -j8 tests passes.
|
| |
|
|
|
|
|
|
| |
Migrate function targets, escape aliases/functions, RPC sets, struct caches, compiler consumers, and serialized types. Keep uniform defaults and the existing cofinite import remapping so this step does not alter parsing or escape policy. Clear lazy struct set caches before recycling TypeSets on reset. Remove XInt source.
Use C0DC for the new packed set layout and test rejection of C0D2 objects. Add packing and word-boundary coverage. Before migration, differential checks matched XInt for 10,000 finite/cofinite pairs and 11 million memberships.
Validation: make -k -j8 tests passes after rebuilding old-format caches (835 executions), including four lattice shards and native/separate-compilation tests. Warmed TypeSet intern hits allocate no storage. git diff --cached --check passes.
|
| |
|
|
|
|
| |
Retain the local/external default design and explicit rebasing API. Add uniform-default overloads for migrating existing finite/cofinite compiler sets without changing import semantics. Tests cover the lattice, discovery, rebasing, reset, and allocation-free warmed intern hits.
Validation: make -k -j8 tests passes (834 executions); existing compiler sites still use XInt at this checkpoint.
|
| |
|
|
|
|
| |
Fold matching left/right shifts when their input already has the signed result type. Cover i8/i16/i32 boundaries, unequal shifts, unsigned input, branch Phis, and worklist propagation after narrowing. Update the affected Chapter13 IR expectation; retain all spill baselines.
Validation: the repeated-extension test fails before the fix. make -k -j8 tests passes (829 executions), and Chapter33Test plus WorklistTest pass with simple.assert.expensive=1.
|
| |
|
|
|
|
| |
Consume nested type names through open definitions and forward references, including new expressions. Resolve expression primaries separately so dotted member access remains a sequence of loads. Commit forward types only after recognizing a type context.
Validation: reproduced two parsing failures before the fix. Four qualified-name regressions and the complete make -k -j8 tests suite pass (825 executions).
|
| |
|
|
|
|
| |
Move the deduplicating node worklist into util, including traversal marks. Skip replacement processing when a peephole has already killed its returned self. Add regressions for traversal/requeue behavior and a rewrite that subsumes itself.
Validation: the dead-self regression fails at the old assertion; make -k -j8 tests passes with both regressions (821 executions).
|
| |
|
|
|
|
| |
Copy the completed chapter 32 snapshot into chapter33 and register the new Maven and IDE module. Update chapter paths and introductory documentation; retain the chapter 32 compiler behavior. Preserve the previous memory-management attempt on ch33_wip for selective follow-up changes.
Validation: make -k -j8 tests passes with 819 JUnit test executions, including all four lattice shards and native/library integration. git diff --cached --check passes.
|
| |\
| |
| | |
Land Chapter 32 compiler performance work and backported fixes
|
| | | |
|
| | |
| |
| |
| |
| |
| | |
More TestType lattice test speedups.
Collapse together some expensive tests.
Trim some tests from `sanity` target
|
| | |
| |
| |
| |
| | |
Fix Phi/Add refactoring peephole to canonicalize regardless of peephole order.
Treat class fcns as having `self` be the class pointer
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
and during RegAlloc, hang on to only a single fcn's BBs at a time
|
| | | |
|
| | |
| |
| |
| | |
And some modest tracking bugs
|
| |/
|
|
| |
Ch 32 will be focused on compiler performance issues.
|
| |
|
|
|
|
| |
Reorganize docs.
Fix bugs X86 LOad+cmp scheduling.
Math intrinsics
|
| |
|
|
|
|
|
| |
Fix a half-dozen compiler bugs; various kinds of forward refs and readable types.
Allow read-only self-types; and read-only methods.
Anonymous inner functions are treated as methods.
Better error messages in many places.
|
| |
|
|
|
|
|
|
|
| |
Math lib with simple constants raw bit converters
TypeConAry unified
Big Formatting change
Debug symbols for constant data
IterPeeps was endlessly running asserts with much inlining
RegAlloc rounds raised
|
| |
|
|
|
|
| |
New array init syntax; used in a bunch of places.
Allows e.g. read-only arrays with not-null entries.
Fix bug x86 encoding of mem/cmp/fp compares
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
| |
Adds simple audio support to Simple
Overhaul makefiles; remove common boilerplate; make them more uniform
|
| |
|
|
| |
Hex & octal digits
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
Better error messages.
Buffs to the std lib; getch() to fetch a single character; streaming I/O handles retries, and large sizes, with better error reporting.
Formatted strings.
Default int moved to i32.
TicTacToe, the game.
|
| | |
|
| |
|
|
| |
Still type safe, but broader usability for partial-init objects
|
| |
|
|
|
|
| |
Drop "frozen" public escapes, and recompute in Start/Stop so Opto gets a precise escape set.
Rename XInt.free -> XInt.alloc
Fix some String tests to not escape by default
|
| |
|
|
|
| |
Removed most; moved a few into Opto setup pass.
Lots of modest bug fixes
|
| | |
|
| | |
|
| |
|
|
|
|
| |
Keep Chapter 28b intact and carry the grammar-oriented parser package, Var move, IterPeeps move, and parser regression tests into Chapter 29. Defer privacy and exclude its experimental tests and fixture changes.
Register the chapter in the indexes, IntelliJ modules and run configurations, Maven reactor, roadmap, and linear-history publisher. Windows and Linux each pass 573 tests, release builds, 199 allocation replays, and 29 native checks.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
Incremental summary of escape data in a single node, instead of repeated in StopCU over and over
|
| | |
|