Skip to content

Commit fb1cf3d

Browse files
authored
Merge pull request #121 from riscv-software-src/precise_raise
Make reachable exception pass look for raise_precise, too
2 parents e816c99 + 0180970 commit fb1cf3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/idl/passes/reachable_exceptions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def reachable_exceptions(symtab)
2020

2121
class FunctionCallExpressionAst
2222
def reachable_exceptions(symtab)
23-
if name == "raise"
23+
if name == "raise" || name == "raise_precise"
2424
# first argument is the exception
2525
code_ast = arg_nodes[0]
2626
value_result = value_try do

0 commit comments

Comments
 (0)