Skip to content

air: implement vm air#10

Merged
tcoratger merged 1 commit into
mainfrom
air
Aug 16, 2025
Merged

air: implement vm air#10
tcoratger merged 1 commit into
mainfrom
air

Conversation

@tcoratger
Copy link
Copy Markdown
Contributor

No description provided.

@tcoratger tcoratger merged commit 4a3122a into main Aug 16, 2025
3 checks passed
@TomWambsgans TomWambsgans deleted the air branch August 29, 2025 23:10
morganthomas added a commit to lita-xyz/leanMultisig that referenced this pull request Dec 9, 2025
# This is the 1st commit message:

wip: issue/88

# This is the commit message leanEthereum#2:

wip: issue/88

# This is the commit message leanEthereum#3:

wip: issue/88

# This is the commit message leanEthereum#4:

wip: issue/88

# This is the commit message leanEthereum#5:

wip: issue/88

# This is the commit message leanEthereum#6:

shrink test_match

# This is the commit message leanEthereum#7:

wip: issue/88

# This is the commit message leanEthereum#8:

remove mark_vars_as_declared

# This is the commit message leanEthereum#9:

wip: issue/88

# This is the commit message leanEthereum#10:

wip: issue/88

# This is the commit message leanEthereum#11:

wip: issue/88

# This is the commit message leanEthereum#12:

reverse stack trace order

# This is the commit message leanEthereum#13:

add failing test case from shrinking WHIR recursion

# This is the commit message leanEthereum#14:

wip: issue/88: bugfix: eliminate name shadowing

# This is the commit message leanEthereum#15:

refactor: remove declared_vars

# This is the commit message leanEthereum#16:

wip: issue/88
TomWambsgans added a commit that referenced this pull request May 9, 2026
…c#10)

- realloc: switch copy_nonoverlapping -> copy. When a Vec grows inside the
  arena, the freshly-bumped destination can overlap the source within the
  same slab, violating copy_nonoverlapping's precondition (UB).
- begin_phase: document that phases must not nest. A nested begin_phase
  recycles the slab and overwrites the outer phase's still-live data.
  Refcounting (per PR #10) papers over the issue but inner allocations
  would silently outlive their inner end_phase, so we make the flat-phase
  contract explicit instead.

Co-authored-by: Barnadrot <kbarna.drot@gmail.com>
TomWambsgans added a commit that referenced this pull request May 9, 2026
)

- realloc: switch copy_nonoverlapping -> copy. When a Vec grows inside the
  arena, the freshly-bumped destination can overlap the source within the
  same slab, violating copy_nonoverlapping's precondition (UB).
- begin_phase: panic if a phase is already active. Phases must stay flat
  in a bump allocator: a nested begin would recycle the slab and overwrite
  the outer phase's still-live data. Rather than refcounting (per PR #10,
  which silently lets inner allocations outlive their inner end_phase),
  we make the violation loud via an atomic swap + assert.

Co-authored-by: Barnadrot <kbarna.drot@gmail.com>
TomWambsgans added a commit that referenced this pull request May 9, 2026
)

- realloc: switch copy_nonoverlapping -> copy. When a Vec grows inside the
  arena, the freshly-bumped destination can overlap the source within the
  same slab, violating copy_nonoverlapping's precondition (UB).
- begin_phase: panic if a phase is already active. Phases must stay flat
  in a bump allocator: a nested begin would recycle the slab and overwrite
  the outer phase's still-live data. Rather than refcounting (per PR #10),
  we make the violation impossible via an  assert.

Co-authored-by: Barnadrot <kbarna.drot@gmail.com>
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