Skip to content

Move expression family out-of-line into MLIRGenExpressions.cpp (§1)#222

Merged
ASDAlexander77 merged 1 commit into
mainfrom
refactor/split-expressions
Jul 13, 2026
Merged

Move expression family out-of-line into MLIRGenExpressions.cpp (§1)#222
ASDAlexander77 merged 1 commit into
mainfrom
refactor/split-expressions

Conversation

@ASDAlexander77

Copy link
Copy Markdown
Owner

Summary

§1 TU split, next slice — same pattern as #217#221.

41 expression-level mlirGen overloads move from MLIRGenImpl.h into a new MLIRGenExpressions.cpp TU, declarations left in the header: the Expression dispatcher, prefix/postfix unary, binary, conditional, call/new/delete/void/typeof/non-null, property and element access, spread/parenthesized/qualified-name, yield/await, type assertion/as, computed property name, all literals (null/true/false/numeric/bigint/string/regex/template/tagged-template/no-substitution), array and object literals, function/arrow/class expressions, and the (location, StringRef) identifier-resolution entry.

  • 1,343 lines out of the header (18,967 → 17,624)
  • Multi-line signatures handled (declaration keeps the wrapped form)
  • CMake entry added alphabetically

Remaining §1 families: functions, classes, then the tail utilities.

Test plan

  • Clean rebuild with the new TU layout
  • 683/683 ctest tests passed (159 s) — full AOT + JIT + unittests

🤖 Generated with Claude Code

…w doc 1)

41 expression-level mlirGen overloads (Expression dispatcher, unary/
binary/conditional, call/new/delete, property/element access,
literals, template literals, function/arrow/class expressions,
identifier resolution) move from MLIRGenImpl.h into a new
MLIRGenExpressions.cpp TU; header keeps declarations. 1343 lines out
of the header (18967 -> 17624).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ASDAlexander77 ASDAlexander77 merged commit abb9a16 into main Jul 13, 2026
2 checks passed
@ASDAlexander77 ASDAlexander77 deleted the refactor/split-expressions branch July 13, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant