Skip to content

Commit

Permalink
Add log header to assembly output
Browse files Browse the repository at this point in the history
This adds a header before the assembly output from `np-generate-code`, which
aids in processing this output with further tooling.
  • Loading branch information
jryans committed Nov 29, 2023
1 parent 8e2c1bb commit ef32340
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions s/cpnanopass.ss
Original file line number Diff line number Diff line change
Expand Up @@ -8344,6 +8344,7 @@
(let ([ptrace* (map CaseLambdaExpr le* func*)])
(for-each resolve-funcrel! funcrel*)
(when aop
(fprintf aop "output of np-generate-code (assembly):\n")
(for-each (lambda (ptrace) (ptrace aop)) ptrace*)
(flush-output-port aop))
(local-label-func l)))])
Expand Down

0 comments on commit ef32340

Please sign in to comment.