Repository navigation
gh-162214: Test if macros are defined in generated cases code #3783
Annotations
30 errors
|
test_error_if_plain (test.test_generated_cases.TestGeneratedCases.test_error_if_plain):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[312 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[279 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
if (cond) {
JUMP_TO_LABEL(error);
}
DISPATCH();
}
|
|
test_cache_effect (test.test_generated_cases.TestGeneratedCases.test_cache_effect):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[669 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[636 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
_Py_CODEUNIT* const this_instr = next_instr;
(void)this_instr;
frame->instr_ptr = next_instr;
next_instr += 4;
INSTRUCTION_STATS(OP);
_PyStackRef value;
value = stack_pointer[-1];
uint16_t counter = read_u16(&this_instr[1].cache);
(void)counter;
uint32_t extra = read_u32(&this_instr[2].cache);
(void)extra;
stack_pointer += -1;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_binary_op (test.test_generated_cases.TestGeneratedCases.test_binary_op):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[576 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[543 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef left;
_PyStackRef right;
_PyStackRef res;
right = stack_pointer[-1];
left = stack_pointer[-2];
res = SPAM(left, right);
stack_pointer[-2] = res;
stack_pointer += -1;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_output (test.test_generated_cases.TestGeneratedCases.test_array_output):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[645 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[612 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef below;
_PyStackRef *values;
_PyStackRef above;
values = &stack_pointer[-1];
SPAM(values, oparg);
below = 0;
above = 0;
stack_pointer[-2] = below;
stack_pointer[-1 + oparg*3] = above;
stack_pointer += oparg*3;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_of_one (test.test_generated_cases.TestGeneratedCases.test_array_of_one):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[403 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[370 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef *arg;
_PyStackRef *out;
arg = &stack_pointer[-1];
out = &stack_pointer[-1];
out[0] = arg[0];
DISPATCH();
}
|
|
test_array_input_output (test.test_generated_cases.TestGeneratedCases.test_array_input_output):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[536 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[503 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef *values;
_PyStackRef above;
values = &stack_pointer[-oparg];
SPAM(values, oparg);
above = 0;
stack_pointer[0] = above;
stack_pointer += 1;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_input (test.test_generated_cases.TestGeneratedCases.test_array_input):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[612 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[579 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef below;
_PyStackRef *values;
_PyStackRef above;
above = stack_pointer[-1];
values = &stack_pointer[-1 - oparg*2];
below = stack_pointer[-2 - oparg*2];
SPAM(values, oparg);
stack_pointer += -2 - oparg*2;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_error_if (test.test_generated_cases.TestGeneratedCases.test_array_error_if):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[692 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[659 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef extra;
_PyStackRef *values;
values = &stack_pointer[-oparg];
extra = stack_pointer[-1 - oparg];
if (oparg == 0) {
stack_pointer += -1 - oparg;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
JUMP_TO_LABEL(error);
}
stack_pointer += -1 - oparg;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_annotated_op (test.test_generated_cases.TestGeneratedCases.test_annotated_op):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[20 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[252 chars] }' != 'TARG[20 chars] #if _Py_TAIL_CALL_INTERP\n int opc[219 chars] }'
TARGET(M) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = M;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(M);
SPAM();
DISPATCH();
}
|
|
test_annotated_inst (test.test_generated_cases.TestGeneratedCases.test_annotated_inst):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[251 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[218 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
ham;
DISPATCH();
}
|
|
test_error_if_plain (test.test_generated_cases.TestGeneratedCases.test_error_if_plain):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[312 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[279 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
if (cond) {
JUMP_TO_LABEL(error);
}
DISPATCH();
}
|
|
test_cache_effect (test.test_generated_cases.TestGeneratedCases.test_cache_effect):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[669 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[636 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
_Py_CODEUNIT* const this_instr = next_instr;
(void)this_instr;
frame->instr_ptr = next_instr;
next_instr += 4;
INSTRUCTION_STATS(OP);
_PyStackRef value;
value = stack_pointer[-1];
uint16_t counter = read_u16(&this_instr[1].cache);
(void)counter;
uint32_t extra = read_u32(&this_instr[2].cache);
(void)extra;
stack_pointer += -1;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_binary_op (test.test_generated_cases.TestGeneratedCases.test_binary_op):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[576 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[543 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef left;
_PyStackRef right;
_PyStackRef res;
right = stack_pointer[-1];
left = stack_pointer[-2];
res = SPAM(left, right);
stack_pointer[-2] = res;
stack_pointer += -1;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_output (test.test_generated_cases.TestGeneratedCases.test_array_output):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[645 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[612 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef below;
_PyStackRef *values;
_PyStackRef above;
values = &stack_pointer[-1];
SPAM(values, oparg);
below = 0;
above = 0;
stack_pointer[-2] = below;
stack_pointer[-1 + oparg*3] = above;
stack_pointer += oparg*3;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_of_one (test.test_generated_cases.TestGeneratedCases.test_array_of_one):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[403 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[370 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef *arg;
_PyStackRef *out;
arg = &stack_pointer[-1];
out = &stack_pointer[-1];
out[0] = arg[0];
DISPATCH();
}
|
|
test_array_input_output (test.test_generated_cases.TestGeneratedCases.test_array_input_output):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[536 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[503 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef *values;
_PyStackRef above;
values = &stack_pointer[-oparg];
SPAM(values, oparg);
above = 0;
stack_pointer[0] = above;
stack_pointer += 1;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_input (test.test_generated_cases.TestGeneratedCases.test_array_input):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[612 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[579 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef below;
_PyStackRef *values;
_PyStackRef above;
above = stack_pointer[-1];
values = &stack_pointer[-1 - oparg*2];
below = stack_pointer[-2 - oparg*2];
SPAM(values, oparg);
stack_pointer += -2 - oparg*2;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_error_if (test.test_generated_cases.TestGeneratedCases.test_array_error_if):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[692 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[659 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef extra;
_PyStackRef *values;
values = &stack_pointer[-oparg];
extra = stack_pointer[-1 - oparg];
if (oparg == 0) {
stack_pointer += -1 - oparg;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
JUMP_TO_LABEL(error);
}
stack_pointer += -1 - oparg;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_annotated_op (test.test_generated_cases.TestGeneratedCases.test_annotated_op):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[20 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[252 chars] }' != 'TARG[20 chars] #if _Py_TAIL_CALL_INTERP\n int opc[219 chars] }'
TARGET(M) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = M;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(M);
SPAM();
DISPATCH();
}
|
|
test_annotated_inst (test.test_generated_cases.TestGeneratedCases.test_annotated_inst):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[251 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[218 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
ham;
DISPATCH();
}
|
|
test_error_if_plain (test.test_generated_cases.TestGeneratedCases.test_error_if_plain):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[312 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[279 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
if (cond) {
JUMP_TO_LABEL(error);
}
DISPATCH();
}
|
|
test_cache_effect (test.test_generated_cases.TestGeneratedCases.test_cache_effect):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[669 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[636 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
_Py_CODEUNIT* const this_instr = next_instr;
(void)this_instr;
frame->instr_ptr = next_instr;
next_instr += 4;
INSTRUCTION_STATS(OP);
_PyStackRef value;
value = stack_pointer[-1];
uint16_t counter = read_u16(&this_instr[1].cache);
(void)counter;
uint32_t extra = read_u32(&this_instr[2].cache);
(void)extra;
stack_pointer += -1;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_binary_op (test.test_generated_cases.TestGeneratedCases.test_binary_op):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[576 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[543 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef left;
_PyStackRef right;
_PyStackRef res;
right = stack_pointer[-1];
left = stack_pointer[-2];
res = SPAM(left, right);
stack_pointer[-2] = res;
stack_pointer += -1;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_output (test.test_generated_cases.TestGeneratedCases.test_array_output):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[645 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[612 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef below;
_PyStackRef *values;
_PyStackRef above;
values = &stack_pointer[-1];
SPAM(values, oparg);
below = 0;
above = 0;
stack_pointer[-2] = below;
stack_pointer[-1 + oparg*3] = above;
stack_pointer += oparg*3;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_of_one (test.test_generated_cases.TestGeneratedCases.test_array_of_one):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[403 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[370 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef *arg;
_PyStackRef *out;
arg = &stack_pointer[-1];
out = &stack_pointer[-1];
out[0] = arg[0];
DISPATCH();
}
|
|
test_array_input_output (test.test_generated_cases.TestGeneratedCases.test_array_input_output):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[536 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[503 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef *values;
_PyStackRef above;
values = &stack_pointer[-oparg];
SPAM(values, oparg);
above = 0;
stack_pointer[0] = above;
stack_pointer += 1;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_input (test.test_generated_cases.TestGeneratedCases.test_array_input):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[612 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[579 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef below;
_PyStackRef *values;
_PyStackRef above;
above = stack_pointer[-1];
values = &stack_pointer[-1 - oparg*2];
below = stack_pointer[-2 - oparg*2];
SPAM(values, oparg);
stack_pointer += -2 - oparg*2;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_array_error_if (test.test_generated_cases.TestGeneratedCases.test_array_error_if):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[692 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[659 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
_PyStackRef extra;
_PyStackRef *values;
values = &stack_pointer[-oparg];
extra = stack_pointer[-1 - oparg];
if (oparg == 0) {
stack_pointer += -1 - oparg;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
JUMP_TO_LABEL(error);
}
stack_pointer += -1 - oparg;
ASSERT_WITHIN_STACK_BOUNDS(__FILE__, __LINE__);
DISPATCH();
}
|
|
test_annotated_op (test.test_generated_cases.TestGeneratedCases.test_annotated_op):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[20 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[252 chars] }' != 'TARG[20 chars] #if _Py_TAIL_CALL_INTERP\n int opc[219 chars] }'
TARGET(M) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = M;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(M);
SPAM();
DISPATCH();
}
|
|
test_annotated_inst (test.test_generated_cases.TestGeneratedCases.test_annotated_inst):
Lib/test/test_generated_cases.py#L126
AssertionError: 'TARG[21 chars] #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL[251 chars] }' != 'TARG[21 chars] #if _Py_TAIL_CALL_INTERP\n int opc[218 chars] }'
TARGET(OP) {
- #if defined(_Py_TAIL_CALL_INTERP) && _Py_TAIL_CALL_INTERP
+ #if _Py_TAIL_CALL_INTERP
int opcode = OP;
(void)(opcode);
#endif
frame->instr_ptr = next_instr;
next_instr += 1;
INSTRUCTION_STATS(OP);
ham;
DISPATCH();
}
|