diff options
| author | Peter Lazorchak <lazorchakp@gmail.com> | 2024-04-03 17:14:18 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-03 17:14:18 (GMT) |
| commit | 1c434688866db79082def4f9ef572b85d85908c8 (patch) | |
| tree | c253bfd0b3a7db1fda7e98c0ee2321ef100ceb2e /Python/optimizer_cases.c.h | |
| parent | 976bcb2379709da57073a9e07b518ff51daa617a (diff) | |
| download | cpython-1c434688866db79082def4f9ef572b85d85908c8.zip cpython-1c434688866db79082def4f9ef572b85d85908c8.tar.gz cpython-1c434688866db79082def4f9ef572b85d85908c8.tar.bz2 | |
gh-116168: Remove extra `_CHECK_STACK_SPACE` uops (#117242)
This merges all `_CHECK_STACK_SPACE` uops in a trace into a single `_CHECK_STACK_SPACE_OPERAND` uop that checks whether there is enough stack space for all calls included in the entire trace.
Diffstat (limited to 'Python/optimizer_cases.c.h')
| -rw-r--r-- | Python/optimizer_cases.c.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/optimizer_cases.c.h b/Python/optimizer_cases.c.h index b4a1da8..209be37 100644 --- a/Python/optimizer_cases.c.h +++ b/Python/optimizer_cases.c.h @@ -1906,6 +1906,10 @@ break; } + case _CHECK_STACK_SPACE_OPERAND: { + break; + } + case _SAVE_RETURN_OFFSET: { break; } |
