about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorJohn Clements <clements@racket-lang.org>2014-07-10 15:41:11 -0700
committerJohn Clements <clements@racket-lang.org>2014-07-11 10:32:41 -0700
commitf1ad425199b0d89dab275a8c8f6f29a73d316f70 (patch)
treed356432d60ae40b95c10f708567df5ad422b7605 /src/rustllvm/ExecutionEngineWrapper.cpp
parent50d9965c258276eadd8a87de20d232451aabbf83 (diff)
downloadrust-f1ad425199b0d89dab275a8c8f6f29a73d316f70.tar.gz
rust-f1ad425199b0d89dab275a8c8f6f29a73d316f70.zip
use side table to store exported macros
Per discussion with @sfackler, refactored the expander to
change the way that exported macros are collected. Specifically,
a crate now contains a side table of spans that exported macros
go into.

This has two benefits. First, the encoder doesn't need to scan through
the expanded crate in order to discover exported macros. Second, the
expander can drop all expanded macros from the crate, with the pleasant
result that a fully expanded crate contains no macro invocations (which
include macro definitions).
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions