Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fbe7b87

Browse filesBrowse files
authored
GH-131688: Mark instructions and uops with DECREF_INPUTS as escaping. (GH-133501)
1 parent 29f6dc6 commit fbe7b87
Copy full SHA for fbe7b87

File tree

3 files changed

+23
-23
lines changed
Filter options

3 files changed

+23
-23
lines changed

‎Include/internal/pycore_opcode_metadata.h

Copy file name to clipboardExpand all lines: Include/internal/pycore_opcode_metadata.h
+12-12Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Include/internal/pycore_uop_metadata.h

Copy file name to clipboardExpand all lines: Include/internal/pycore_uop_metadata.h
+10-10Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Tools/cases_generator/analyzer.py

Copy file name to clipboardExpand all lines: Tools/cases_generator/analyzer.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -832,7 +832,7 @@ def compute_properties(op: parser.CodeDef) -> Properties:
832832
)
833833
error_with_pop = has_error_with_pop(op)
834834
error_without_pop = has_error_without_pop(op)
835-
escapes = bool(escaping_calls)
835+
escapes = bool(escaping_calls) or variable_used(op, "DECREF_INPUTS")
836836
pure = False if isinstance(op, parser.LabelDef) else "pure" in op.annotations
837837
no_save_ip = False if isinstance(op, parser.LabelDef) else "no_save_ip" in op.annotations
838838
return Properties(

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.