File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 53
53
54
54
def makes_escaping_api_call (instr : parsing .InstDef ) -> bool :
55
55
if "CALL_INTRINSIC" in instr .name :
56
- return True ;
56
+ return True
57
57
tkns = iter (instr .tokens )
58
58
for tkn in tkns :
59
59
if tkn .kind != lx .IDENTIFIER :
@@ -79,6 +79,7 @@ def makes_escaping_api_call(instr: parsing.InstDef) -> bool:
79
79
return True
80
80
return False
81
81
82
+
82
83
@dataclasses .dataclass
83
84
class InstructionFlags :
84
85
"""Construct and manipulate instruction flags"""
@@ -124,9 +125,7 @@ def fromInstruction(instr: parsing.InstDef) -> "InstructionFlags":
124
125
or variable_used (instr , "exception_unwind" )
125
126
or variable_used (instr , "resume_with_error" )
126
127
),
127
- HAS_ESCAPES_FLAG = (
128
- makes_escaping_api_call (instr )
129
- ),
128
+ HAS_ESCAPES_FLAG = makes_escaping_api_call (instr ),
130
129
)
131
130
132
131
@staticmethod
You can’t perform that action at this time.
0 commit comments