-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[cranelift docs] Fix grammar code blocks and heap image (#1339)
* [cranelift docs] Move grammar segments in IR docs to code blocks * [cranelift docs] Replace dot code in IR docs with generated image. This is how the image was generated $ cat > heap.dot << EOF digraph { node [ shape=record, fontsize=10, fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" ] "static" [label="mapped\npages|unmapped\npages|offset_guard\npages"] } EOF $ dot -Tsvg -O heap.dot * [cranelift docs] Fix indentation in grammar block Co-Authored-By: bjorn3 <bjorn3@users.noreply.github.com> Co-authored-by: bjorn3 <bjorn3@users.noreply.github.com>
- Loading branch information
Showing
3 changed files
with
50 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
digraph { | ||
node [ | ||
shape=record, | ||
fontsize=10, | ||
fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans" | ||
] | ||
"static" [label="mapped\npages|unmapped\npages|offset_guard\npages"] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters