From b5935c796ab0b2c478b4480a0dfdacb8e0dfe40e Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 19 Dec 2024 18:47:57 +0000 Subject: deploy: 8ca27aeeb99a0da43e92e39918aa07c0b1443c07 --- src/fib/fib.rs.html | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/fib') diff --git a/src/fib/fib.rs.html b/src/fib/fib.rs.html index c1a746f..99da282 100644 --- a/src/fib/fib.rs.html +++ b/src/fib/fib.rs.html @@ -75,8 +75,7 @@ 74 75 76 -77 -78
//! Fibonacci example.
+77
//! Fibonacci example.
 //!
 //! Jit compile a function at runtime (generate native host code) to compute the fibonacci sequence
 //! to demonstrate the [`juicebox_asm`] crate.
@@ -144,9 +143,8 @@
     let mut rt = Runtime::new();
     let fib = unsafe { rt.add_code::<extern "C" fn(u64) -> u64>(asm.into_code()) };
 
-    // Write out JIT code for visualization.
-    // Disassemble for example with `ndisasm -b 64 jit.asm`.
-    rt.dump();
+    // Disassemble JIT code and write to stdout.
+    rt.disasm();
 
     for n in 0..15 {
         let fib_jit = fib(n);
-- 
cgit v1.2.3