mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-23 10:34:07 +00:00
fix comp-log-edges
This commit is contained in:
parent
ba2bbea816
commit
44023f3db2
@ -358,17 +358,15 @@ VERBOSITY is a number between 0 and 3."
|
||||
(defun comp-log-edges (func)
|
||||
"Log edges in FUNC."
|
||||
(let ((edges (comp-func-edges func)))
|
||||
(when (> comp-verbose 2)
|
||||
(comp-log (format "\nEdges in function: %s\n"
|
||||
(comp-func-name func))
|
||||
0))
|
||||
(comp-log (format "\nEdges in function: %s\n"
|
||||
(comp-func-name func))
|
||||
2)
|
||||
(mapc (lambda (e)
|
||||
(when (> comp-verbose 2)
|
||||
(comp-log (format "n: %d src: %s dst: %s\n"
|
||||
(comp-edge-number e)
|
||||
(comp-block-name (comp-edge-src e))
|
||||
(comp-block-name (comp-edge-dst e)))
|
||||
0)))
|
||||
(comp-log (format "n: %d src: %s dst: %s\n"
|
||||
(comp-edge-number e)
|
||||
(comp-block-name (comp-edge-src e))
|
||||
(comp-block-name (comp-edge-dst e)))
|
||||
2))
|
||||
edges)))
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user