Landing: 0461510c487b

Project / Subsystem

gcc / gccrs

Date

2026-06-16

Author

Lishin

Commit

0461510c487b4df2a07e6c479f00b45b5c9c0cc1

Source

github

Perf win

No

Breaking

No

All attributes

project
gcc
subsystem
gccrs
patch_id
commit_hash
0461510c487b4df2a07e6c479f00b45b5c9c0cc1
source_type
github
headline
gccrs: Refactor CompileDrop and add DropBuilder
tldr
Refactoring in gccrs improves drop-related compilation by isolating drop logic.
author
Lishin
outcome
committed
performance_win
false
breaking_change
false
series_id
series_parts
[]
tags
  • gccrs
  • refactor
  • backend
  • codegen
discussion_id_link
bugzilla_pr
date
2026-06-16T00:00:00.000Z

This patch refactors the drop compilation logic in gccrs by introducing a new DropBuilder class and making Context a member of CompileDrop. This change isolates drop-specific APIs from the main compile context, improving modularity and maintainability.