gh-119689: generate stack effect metadata for pseudo instructions (#119691)

This commit is contained in:
Irit Katriel 2024-05-29 10:47:56 +01:00 committed by GitHub
parent 7ca74a760a
commit c1e9647107
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 112 additions and 73 deletions

View file

@ -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,
};