mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-12 15:27:36 +02:00
Debug traces
This commit is contained in:
parent
f80da86712
commit
a2c0d8c511
1 changed files with 2 additions and 0 deletions
|
@ -826,6 +826,7 @@
|
|||
(if (not (adbv:inlinable var))
|
||||
(set! fast-inline #f)))))
|
||||
ivars)
|
||||
;(trace:error `(DEBUG inline-prim-call ,exp ,ivars ,args ,cannot-inline ,fast-inline))
|
||||
(cond
|
||||
(cannot-inline #f)
|
||||
(else
|
||||
|
@ -914,6 +915,7 @@
|
|||
;; If the code gets this far, assume we came from a place
|
||||
;; that does not allow the var to be inlined. We need to
|
||||
;; explicitly white-list variables that can be inlined.
|
||||
; (trace:error `(DEBUG not inlinable ,exp ,args))
|
||||
(with-var exp (lambda (var)
|
||||
(adbv:set-inlinable! var #f)))))
|
||||
((ast:lambda? exp)
|
||||
|
|
Loading…
Add table
Reference in a new issue