GH-111520: Add back the operand local (GH-111813)

This commit is contained in:
Brandt Bucher 2023-11-13 17:27:19 -08:00 committed by GitHub
parent 36aab34fab
commit 31ad7e061e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 24 additions and 28 deletions

View file

@ -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