mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
GH-129715: Don't project traces that return to an unknown caller (GH-130024)
This commit is contained in:
parent
72f56654d0
commit
11bb08e4ec
3 changed files with 3 additions and 3 deletions
|
@ -185,8 +185,7 @@ is_instrumented(int opcode)
|
|||
{
|
||||
assert(opcode != 0);
|
||||
assert(opcode != RESERVED);
|
||||
assert(opcode != ENTER_EXECUTOR);
|
||||
return opcode >= MIN_INSTRUMENTED_OPCODE;
|
||||
return opcode != ENTER_EXECUTOR && opcode >= MIN_INSTRUMENTED_OPCODE;
|
||||
}
|
||||
|
||||
#ifndef NDEBUG
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue