File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -121,13 +121,13 @@ def write_uop(
121121
122122def uses_this (inst : Instruction ) -> bool :
123123 if inst .properties .needs_this :
124- return True , False
124+ return True
125125 for uop in inst .parts :
126126 if not isinstance (uop , Uop ):
127127 continue
128128 for cache in uop .caches :
129129 if cache .name != "unused" :
130- return True , False
130+ return True
131131 # Can't be merged into the loop above, because
132132 # this must strictly be performed at the end.
133133 for uop in inst .parts :
@@ -136,7 +136,7 @@ def uses_this(inst: Instruction) -> bool:
136136 for tkn in uop .body :
137137 if (tkn .kind == "IDENTIFIER"
138138 and (tkn .text in {"DEOPT_IF" , "EXIT_IF" })):
139- return True , True
139+ return True
140140 return False , False
141141
142142
You can’t perform that action at this time.
0 commit comments