Skip to content
Prev Previous commit
Next Next commit
First prototype, works for cast(int, x)
  • Loading branch information
gvanrossum committed Mar 2, 2024
commit aeafc38e8447e0d0b693337cf38c7f743b3a422e
247 changes: 124 additions & 123 deletions Include/internal/pycore_uop_ids.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions Include/internal/pycore_uop_metadata.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions Python/bytecodes.c
Original file line number Diff line number Diff line change
Expand Up @@ -4125,6 +4125,11 @@ dummy_func(
frame->instr_ptr = (_Py_CODEUNIT *)instr_ptr;
}

tier2 op(_ADJUST_STUFF, (callable, unused, args[oparg], retval -- retval)) {
Py_INCREF(retval);
DECREF_INPUTS();
}

// END BYTECODES //

}
Expand Down
19 changes: 19 additions & 0 deletions Python/executor_cases.c.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading