Skip to content

Commit e40cb06

Browse files
fix wrong error message
1 parent 2408fb0 commit e40cb06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/cases_generator/optimizer_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def replace_opcode_if_evaluates_pure(
176176
if len(input_identifiers) == 0:
177177
raise analysis_error(
178178
"To evaluate an operation as pure, it must have at least 1 input",
179-
self.original_uop.body.open
179+
tkn
180180
)
181181
# Check that the input identifiers belong to the uop's
182182
# input stack effect

0 commit comments

Comments
 (0)