Skip to content

refactor: narrow dwarf direct materialization#152

Merged
swananan merged 1 commit intomainfrom
refactor/dwarf-materialization-primitives
May 4, 2026
Merged

refactor: narrow dwarf direct materialization#152
swananan merged 1 commit intomainfrom
refactor/dwarf-materialization-primitives

Conversation

@swananan
Copy link
Copy Markdown
Owner

@swananan swananan commented May 4, 2026

Introduce PlannedValue as the direct-value primitive emitted by DWARF materialization plans. This keeps constants, register values, computed values, implicit bytes, and address values explicit without exposing the full VariableLocation shape to compiler direct-value lowering.

Route compiler direct-value codegen through PlannedValue while keeping the legacy VariableLocation helper as a compatibility entry point. This makes the materialization contract closer to the USDT-style operand model and leaves address IR compaction for a later step.

Refs #148.

Introduce PlannedValue as the direct-value primitive emitted by DWARF
materialization plans. This keeps constants, register values, computed
values, implicit bytes, and address values explicit without exposing the
full VariableLocation shape to compiler direct-value lowering.

Route compiler direct-value codegen through PlannedValue while keeping
the legacy VariableLocation helper as a compatibility entry point. This
makes the materialization contract closer to the USDT-style operand
model and leaves address IR compaction for a later step.

Refs #148.
@swananan swananan merged commit e796c7a into main May 4, 2026
10 checks passed
@swananan swananan deleted the refactor/dwarf-materialization-primitives branch May 4, 2026 13:31
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