Skip to content

Commit

Permalink
Merge pull request #121 from riscv-software-src/precise_raise
Browse files Browse the repository at this point in the history
Make reachable exception pass look for raise_precise, too
  • Loading branch information
dhower-qc authored Oct 17, 2024
2 parents e816c99 + 0180970 commit fb1cf3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/idl/passes/reachable_exceptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def reachable_exceptions(symtab)

class FunctionCallExpressionAst
def reachable_exceptions(symtab)
if name == "raise"
if name == "raise" || name == "raise_precise"
# first argument is the exception
code_ast = arg_nodes[0]
value_result = value_try do
Expand Down

0 comments on commit fb1cf3d

Please sign in to comment.