diff options
| author | bors <bors@rust-lang.org> | 2013-05-21 10:43:17 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-05-21 10:43:17 -0700 |
| commit | 64963d6cbaea86e0d2a58f507e57a76da7512e3e (patch) | |
| tree | 96dfdb86aaa32e4131710cb71507ddd3b9aa752f /src/rustllvm/RustWrapper.cpp | |
| parent | 808aada1fb95133f9e9e78be70ad805c0fee4b9c (diff) | |
| parent | a59bec43e34715880f471db7d7c9d57939649d92 (diff) | |
| download | rust-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
