Skip to content

Commit a7d3bfd

Browse files
authored
Apply suggestions from code review
1 parent 113a555 commit a7d3bfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/compiler/ssair.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ let code = Any[
271271
GotoIfNot(Argument(2), 4),
272272
# block 2
273273
Expr(:call, throw, "potential throw"),
274-
ReturnNode(), # unrechable
274+
ReturnNode(), # unreachable
275275
# block 3
276276
ReturnNode(Argument(3)),
277277
]
@@ -295,7 +295,7 @@ let code = Any[
295295
ReturnNode(Argument(3)),
296296
# block 3
297297
Expr(:call, throw, "potential throw"),
298-
ReturnNode(), # unrechable
298+
ReturnNode(), # unreachable
299299
]
300300
ir = make_ircode(code; slottypes=Any[Any,Bool,Bool])
301301
visited = BitSet()

0 commit comments

Comments
 (0)