mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
GH-115816: Make tier2 optimizer symbols testable, and add a few tests. (GH-115953)
This commit is contained in:
parent
af5f9d682c
commit
10fbcd6c5d
15 changed files with 720 additions and 607 deletions
|
@ -900,7 +900,7 @@ class TestGeneratedAbstractCases(unittest.TestCase):
|
|||
|
||||
case OP2: {
|
||||
_Py_UOpsSymType *out;
|
||||
out = sym_new_unknown(ctx);
|
||||
out = _Py_uop_sym_new_unknown(ctx);
|
||||
if (out == NULL) goto out_of_space;
|
||||
stack_pointer[-1] = out;
|
||||
break;
|
||||
|
@ -925,7 +925,7 @@ class TestGeneratedAbstractCases(unittest.TestCase):
|
|||
output = """
|
||||
case OP: {
|
||||
_Py_UOpsSymType *out;
|
||||
out = sym_new_unknown(ctx);
|
||||
out = _Py_uop_sym_new_unknown(ctx);
|
||||
if (out == NULL) goto out_of_space;
|
||||
stack_pointer[-1] = out;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue