Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Fix #41636 and add description for undefcheck #41780

Merged
merged 1 commit into from
Aug 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions doc/src/devdocs/ast.md
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,10 @@ These symbols appear in the `head` field of [`Expr`](@ref)s in lowered form.

Yields the caught exception inside a `catch` block, as returned by `jl_current_exception()`.

* `undefcheck`

Temporary node inserted by the compiler and will be processed in `type_lift_pass!`.

* `enter`

Enters an exception handler (`setjmp`). `args[1]` is the label of the catch block to jump to on
Expand Down Expand Up @@ -507,11 +511,11 @@ These symbols appear in the `head` field of [`Expr`](@ref)s in lowered form.

The calling convention for the call.

* `args[6:6+length(args[3])]` : arguments
* `args[6:5+length(args[3])]` : arguments

The values for all the arguments (with types of each given in args[3]).

* `args[6+(length(args[3])+1):end]` : gc-roots
* `args[6+length(args[3])+1:end]` : gc-roots

The additional objects that may need to be gc-rooted for the duration of the call.
See [Working with LLVM](@ref Working-with-LLVM) for where these are derived from and how they get handled.
Expand Down