diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-06-20 10:43:33 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-06-20 23:53:28 +0200 |
| commit | 588dc3897b1a510b7f65ca5e53ba5a99224c1923 (patch) | |
| tree | b85dd40bec4198ed6d41a686538b44844c43d363 /src/comp/driver | |
| parent | 854b3a9b73ca78551a8ca8a933e07a12a0e77aeb (diff) | |
| download | rust-588dc3897b1a510b7f65ca5e53ba5a99224c1923.tar.gz rust-588dc3897b1a510b7f65ca5e53ba5a99224c1923.zip | |
Make trans use the new ast_map instead of building its own
Diffstat (limited to 'src/comp/driver')
| -rw-r--r-- | src/comp/driver/rustc.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/driver/rustc.rs b/src/comp/driver/rustc.rs index d265ac2aeee..3644a1d271b 100644 --- a/src/comp/driver/rustc.rs +++ b/src/comp/driver/rustc.rs @@ -96,8 +96,8 @@ fn compile_input(session::session sess, eval::env env, str input, bind middle::alias::check_crate(@ty_cx, crate)); auto llmod = time[llvm::llvm::ModuleRef](time_passes, "translation", - bind trans::trans_crate(sess, crate, - ty_cx, output)); + bind trans::trans_crate + (sess, crate, ty_cx, output, ast_map)); time[()](time_passes, "LLVM passes", bind link::write::run_passes(sess, llmod, output)); } |
