Skip to content

Commit b6e467e

Browse files
fix failing tests
1 parent ac034a0 commit b6e467e

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Lib/test/test_generated_cases.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2002,17 +2002,17 @@ def test_overridden_abstract_args(self):
20022002
"""
20032003
output = """
20042004
case OP: {
2005-
JitOptSymbol *arg1;
2006-
JitOptSymbol *out;
2005+
JitOptRef arg1;
2006+
JitOptRef out;
20072007
arg1 = stack_pointer[-1];
20082008
out = EGGS(arg1);
20092009
stack_pointer[-1] = out;
20102010
break;
20112011
}
20122012
20132013
case OP2: {
2014-
JitOptSymbol *out;
2015-
out = sym_new_not_null(ctx);
2014+
JitOptRef out;
2015+
out = ref_new_not_null(ctx);
20162016
stack_pointer[-1] = out;
20172017
break;
20182018
}
@@ -2036,14 +2036,14 @@ def test_no_overridden_case(self):
20362036
"""
20372037
output = """
20382038
case OP: {
2039-
JitOptSymbol *out;
2040-
out = sym_new_not_null(ctx);
2039+
JitOptRef out;
2040+
out = ref_new_not_null(ctx);
20412041
stack_pointer[-1] = out;
20422042
break;
20432043
}
20442044
20452045
case OP2: {
2046-
JitOptSymbol *out;
2046+
JitOptRef out;
20472047
out = NULL;
20482048
stack_pointer[-1] = out;
20492049
break;
@@ -2177,7 +2177,7 @@ def test_validate_uop_unused_output(self):
21772177
"""
21782178
output = """
21792179
case OP: {
2180-
JitOptSymbol *foo;
2180+
JitOptRef foo;
21812181
foo = NULL;
21822182
stack_pointer[0] = foo;
21832183
stack_pointer += 1;

0 commit comments

Comments
 (0)