mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-119689: generate stack effect metadata for pseudo instructions (#119691)
This commit is contained in:
parent
7ca74a760a
commit
c1e9647107
10 changed files with 112 additions and 73 deletions
|
@ -485,7 +485,7 @@ class TestGeneratedCases(unittest.TestCase):
|
|||
|
||||
def test_pseudo_instruction_no_flags(self):
|
||||
input = """
|
||||
pseudo(OP) = {
|
||||
pseudo(OP, (in -- out1, out2)) = {
|
||||
OP1,
|
||||
};
|
||||
|
||||
|
@ -504,7 +504,7 @@ class TestGeneratedCases(unittest.TestCase):
|
|||
|
||||
def test_pseudo_instruction_with_flags(self):
|
||||
input = """
|
||||
pseudo(OP, (HAS_ARG, HAS_JUMP)) = {
|
||||
pseudo(OP, (in1, in2 --), (HAS_ARG, HAS_JUMP)) = {
|
||||
OP1,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue