Skip to content

Commit 418d548

Browse files
authored
refactor(codegen): migrate instance_misc1 + logical_collections + map_set onto the Layer 1 rooting API (#7615) (#7627)
Slice 2: 3 modules, 3207 lines, 40 hazard sites. Two combinators added -- with_operands_rooted_across_call (the window's across step is an emitted runtime call, not an Expr, so any_may_trigger_gc has nothing to read) and with_rooted_accumulator (a GC value the lowering keeps updating while lowering more user code). Live bugs fixed in-slice: 'with (o) { x = f() }' materialised receiver AND interned key above the RHS; filter/some/every held the array across js_closure_new; and TWO raw accumulators never rooted at all (Math.min/max 3+ args, fetch's static-headers build) which #7280 structurally cannot repair. map_set.rs is byte-identical -- claimed as translation, not repair.
1 parent c413af0 commit 418d548

8 files changed

Lines changed: 1808 additions & 1205 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
88

99
Perry is a native TypeScript compiler written in Rust that compiles TypeScript source code directly to native executables. It uses SWC for TypeScript parsing and LLVM for code generation.
1010

11-
**Current Version:** 0.5.1356
11+
**Current Version:** 0.5.1357
1212

1313

1414
## TypeScript Parity Status

0 commit comments

Comments
 (0)