about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-05-21 10:43:17 -0700
committerbors <bors@rust-lang.org>2013-05-21 10:43:17 -0700
commit64963d6cbaea86e0d2a58f507e57a76da7512e3e (patch)
tree96dfdb86aaa32e4131710cb71507ddd3b9aa752f /src/rustllvm/RustWrapper.cpp
parent808aada1fb95133f9e9e78be70ad805c0fee4b9c (diff)
parenta59bec43e34715880f471db7d7c9d57939649d92 (diff)
downloadrust-64963d6cbaea86e0d2a58f507e57a76da7512e3e.tar.gz
rust-64963d6cbaea86e0d2a58f507e57a76da7512e3e.zip
auto merge of #6611 : huonw/rust/syntax-ext-no-dup, r=jbclements
Fixes https://github.com/mozilla/rust/issues/6578 by merging the 3 different ways to build an AST into a single `AstBuilder` trait, creating a more uniform and briefer interface.

Also, converts the `ext_ctxt` trait-object to be a plain struct, as well as renaming it to `ExtCtxt`.

Seems to make expansion slightly faster for the normal case (e.g. `libcore` and `libstd`), but slower for `librustc` (slightly) and `libsyntax` (0.3s -> 0.8s! I'm investigating this, but I'd prefer this patch to land relatively quickly.).

`git blame` suggests maybe @graydon or @erickt are familiar with this area of the code. r?
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions