File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -2054,6 +2054,14 @@ parse_async_frame_object(
2054
2054
2055
2055
* previous_frame = GET_MEMBER (uintptr_t , frame , unwinder -> debug_offsets .interpreter_frame .previous );
2056
2056
2057
+ * code_object = GET_MEMBER (uintptr_t , frame , unwinder -> debug_offsets .interpreter_frame .executable );
2058
+ // Strip tag bits for consistent comparison
2059
+ * code_object &= ~Py_TAG_BITS ;
2060
+ assert (code_object != NULL );
2061
+ if ((void * )* code_object == NULL ) {
2062
+ return 0 ;
2063
+ }
2064
+
2057
2065
if (GET_MEMBER (char , frame , unwinder -> debug_offsets .interpreter_frame .owner ) == FRAME_OWNED_BY_CSTACK ||
2058
2066
GET_MEMBER (char , frame , unwinder -> debug_offsets .interpreter_frame .owner ) == FRAME_OWNED_BY_INTERPRETER ) {
2059
2067
return 0 ; // C frame
@@ -2067,15 +2075,6 @@ parse_async_frame_object(
2067
2075
return -1 ;
2068
2076
}
2069
2077
2070
- * code_object = GET_MEMBER (uintptr_t , frame , unwinder -> debug_offsets .interpreter_frame .executable );
2071
- // Strip tag bits for consistent comparison
2072
- * code_object &= ~Py_TAG_BITS ;
2073
-
2074
- assert (code_object != NULL );
2075
- if ((void * )* code_object == NULL ) {
2076
- return 0 ;
2077
- }
2078
-
2079
2078
uintptr_t instruction_pointer = GET_MEMBER (uintptr_t , frame , unwinder -> debug_offsets .interpreter_frame .instr_ptr );
2080
2079
2081
2080
// Get tlbc_index for free threading builds
You can’t perform that action at this time.
0 commit comments