mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Fix whitespace in generated code
This commit is contained in:
parent
2a3c37c273
commit
9263173280
2 changed files with 10 additions and 9 deletions
|
|
@ -123,10 +123,11 @@ def write_uop(uop: Uop, out: CWriter, stack: Stack) -> None:
|
|||
for cache in uop.caches:
|
||||
if cache.name != "unused":
|
||||
if cache.size == 4:
|
||||
type = "PyObject *"
|
||||
type = cast ="PyObject *"
|
||||
else:
|
||||
type = f"uint{cache.size*16}_t"
|
||||
out.emit(f"{type} {cache.name} = ({type})CURRENT_OPERAND();\n")
|
||||
type = f"uint{cache.size*16}_t "
|
||||
cast = f"uint{cache.size*16}_t"
|
||||
out.emit(f"{type}{cache.name} = ({cast})CURRENT_OPERAND();\n")
|
||||
emit_tokens(out, uop, stack, None, TIER2_REPLACEMENT_FUNCTIONS)
|
||||
if uop.properties.stores_sp:
|
||||
for i, var in enumerate(uop.stack.outputs):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue