mirror of
https://github.com/python/cpython.git
synced 2025-11-01 14:11:41 +00:00
GH-131498: Cases generator: Allow input and 'peek' variables to be modified (GH-132506)
This commit is contained in:
parent
be763e550e
commit
844596c09f
9 changed files with 90 additions and 116 deletions
|
|
@ -204,7 +204,7 @@ def generate_tier1_labels(
|
|||
# Emit tail-callable labels as function defintions
|
||||
for name, label in analysis.labels.items():
|
||||
emitter.emit(f"LABEL({name})\n")
|
||||
storage = Storage(Stack(), [], [], False)
|
||||
storage = Storage(Stack(), [], [], 0, False)
|
||||
if label.spilled:
|
||||
storage.spilled = 1
|
||||
emitter.emit_tokens(label, storage, None)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue