Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 13 additions & 13 deletions Lib/test/test_generated_cases.py
Original file line numberDiff line numberDiff line change
Expand Up@@ -405,19 +405,6 @@ def test_macro_instruction(self):
family(OP, INLINE_CACHE_ENTRIES_OP) ={OP3 };
"""
output = """
TARGET(OP1){
_Py_CODEUNIT *this_instr = frame->instr_ptr = next_instr;
next_instr += 2;
INSTRUCTION_STATS(OP1);
PyObject *right;
PyObject *left;
right = stack_pointer[-1];
left = stack_pointer[-2];
uint16_t counter = read_u16(&this_instr[1].cache);
op1(left, right);
DISPATCH();
}

TARGET(OP){
frame->instr_ptr = next_instr;
next_instr += 6;
Expand DownExpand Up@@ -447,6 +434,19 @@ def test_macro_instruction(self):
DISPATCH();
}

TARGET(OP1){
_Py_CODEUNIT *this_instr = frame->instr_ptr = next_instr;
next_instr += 2;
INSTRUCTION_STATS(OP1);
PyObject *right;
PyObject *left;
right = stack_pointer[-1];
left = stack_pointer[-2];
uint16_t counter = read_u16(&this_instr[1].cache);
op1(left, right);
DISPATCH();
}

TARGET(OP3){
frame->instr_ptr = next_instr;
next_instr += 6;
Expand Down
Loading