Skip to content

Commit c31d2a4

Browse files
gvanrossumwoodruffw
authored andcommitted
pythongh-115816: Generate calls to sym_new_const() etc. without _Py_uop prefix (python#116077)
This was left behind by pythonGH-115987. Basically a lot of diffs like this: ``` - res = _Py_uop_sym_new_unknown(ctx); + res = sym_new_unknown(ctx); ```
1 parent a8631c8 commit c31d2a4

File tree

3 files changed

+104
-104
lines changed

3 files changed

+104
-104
lines changed

Lib/test/test_generated_cases.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ def test_overridden_abstract_args(self):
900900
901901
case OP2: {
902902
_Py_UopsSymbol *out;
903-
out = _Py_uop_sym_new_unknown(ctx);
903+
out = sym_new_unknown(ctx);
904904
if (out == NULL) goto out_of_space;
905905
stack_pointer[-1] = out;
906906
break;
@@ -925,7 +925,7 @@ def test_no_overridden_case(self):
925925
output = """
926926
case OP: {
927927
_Py_UopsSymbol *out;
928-
out = _Py_uop_sym_new_unknown(ctx);
928+
out = sym_new_unknown(ctx);
929929
if (out == NULL) goto out_of_space;
930930
stack_pointer[-1] = out;
931931
break;

0 commit comments

Comments
 (0)