tracer: use sys._getframe directly.
authorwhitequark <whitequark@whitequark.org>
Thu, 8 Aug 2019 10:23:35 +0000 (10:23 +0000)
committerwhitequark <whitequark@whitequark.org>
Thu, 8 Aug 2019 10:23:35 +0000 (10:23 +0000)
commit4ee82c95840fcdfcab38744e290016dc0278940b
treefea1d12fbcd153c667d0f8bffbdc16f785fe05df
parente6b1e3de1a63a3637e21d3e3777f38d0fee6eaa7
tracer: use sys._getframe directly.

This speeds up elaboration by ~30-40%.
nmigen/tracer.py