about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2023-09-06 17:38:50 +0200
committerGitHub <noreply@github.com>2023-09-06 17:38:50 +0200
commit7324ee2da86b560eae238d7a77314e3027441d43 (patch)
tree402b359f03c4791b7a31eecbbff6cf1c940d7acb
parentd214df291c7f627288a9c14ee84a754ba077eea4 (diff)
downloadrust-7324ee2da86b560eae238d7a77314e3027441d43.tar.gz
rust-7324ee2da86b560eae238d7a77314e3027441d43.zip
Add missing compilation
-rw-r--r--doc/gimple.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/gimple.md b/doc/gimple.md
index 1bd8035e75d..e2ae93cf20d 100644
--- a/doc/gimple.md
+++ b/doc/gimple.md
@@ -34,6 +34,7 @@ also add the calls we need to generate the GIMPLE:
 int main() {
     gcc_jit_context *ctxt = gcc_jit_context_acquire();
     create_code(ctxt, NULL);
+    gcc_jit_context_compile(ctxt);
     gcc_jit_context_dump_to_file(ctxt, "tmp.gimple", 1);
     return 0;
 }