summaryrefslogtreecommitdiffstats
path: root/Tools/cases_generator
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2023-11-14 01:27:19 (GMT)
committerGitHub <noreply@github.com>2023-11-14 01:27:19 (GMT)
commit31ad7e061ebebc484e00ed3ad5ff61061341c35e (patch)
tree37033459fc8023a66cfc64c52dc8680300c62d59 /Tools/cases_generator
parent36aab34fab3d05f254fe80ca542c38c5f9ae11fe (diff)
downloadcpython-31ad7e061ebebc484e00ed3ad5ff61061341c35e.zip
cpython-31ad7e061ebebc484e00ed3ad5ff61061341c35e.tar.gz
cpython-31ad7e061ebebc484e00ed3ad5ff61061341c35e.tar.bz2
GH-111520: Add back the operand local (GH-111813)
Diffstat (limited to 'Tools/cases_generator')
-rw-r--r--Tools/cases_generator/instructions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/cases_generator/instructions.py b/Tools/cases_generator/instructions.py
index 181d8ba..9039ac5 100644
--- a/Tools/cases_generator/instructions.py
+++ b/Tools/cases_generator/instructions.py
@@ -166,7 +166,7 @@ class Instruction:
f"{func}(&this_instr[{active.offset + 1}].cache);"
)
else:
- out.emit(f"{typ}{ceffect.name} = ({typ.strip()})next_uop[-1].operand;")
+ out.emit(f"{typ}{ceffect.name} = ({typ.strip()})operand;")
# Write the body, substituting a goto for ERROR_IF() and other stuff
assert dedent <= 0