Skip to content

Commit

Permalink
fix a few comments
Browse files Browse the repository at this point in the history
Co-authored-by: Saem Ghani <saemghani+github@gmail.com>
  • Loading branch information
zerbina and saem authored Nov 15, 2024
1 parent 22fdf23 commit 22d451f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/mir/mirgen.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1885,7 +1885,7 @@ proc genFinally(c: var TCtx, n: PNode) =
c.add labelNode(labels[^1])

# emit the branch bodies. The dispatcher cannot jump directly to target
# blocks, since there may leave actions that need to emitted too
# blocks, since there may be leave actions that need to take place
for i, it in blk.exits.pairs:
c.join labels[i]
blockExit(c.blocks, c.graph, c.env, c.builder, it)
Expand Down
2 changes: 1 addition & 1 deletion compiler/vm/vmdef.nim
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ type
## profiler

VmException* = object
## Internal-only. Has to be exposed here because ``VmArgs`` needs acces
## Internal-only. Has to be exposed here because ``VmArgs`` needs access
## to the type.
refVal*: HeapSlotHandle
trace*: VmRawStackTrace
Expand Down

0 comments on commit 22d451f

Please sign in to comment.