Skip to content

Commit ec2971f

Browse files
make mypy happy
1 parent 6045a67 commit ec2971f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/cases_generator/tracer_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ def dispatch_same_oparg(
8989
raise analysis_error("stack_pointer needs reloading before dispatch", tkn)
9090
storage.stack.flush(self.out)
9191
self.out.start_line()
92-
if "specializing" in uop.annotations:
92+
if isinstance(uop, Uop) and "specializing" in uop.annotations:
9393
self.emit("TRACING_SPECIALIZE_DISPATCH_SAME_OPARG")
9494
else:
9595
self.emit(tkn)

0 commit comments

Comments
 (0)