From a921dc487319e926467f8e6afd9900ed2f03aaa9 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sat, 8 Mar 2014 22:36:10 -0800 Subject: rustc: Remove compiler support for __log_level() This commit removes all internal support for the previously used __log_level() expression. The logging subsystem was previously modified to not rely on this magical expression. This also removes the only other function to use the module_data map in trans, decl_gc_metadata. It appears that this is an ancient function from a GC only used long ago. This does not remove the crate map entirely, as libgreen still uses it to hook in to the event loop provided by libgreen. --- src/libsyntax/ext/base.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libsyntax/ext') diff --git a/src/libsyntax/ext/base.rs b/src/libsyntax/ext/base.rs index b575cfaade6..997bfcc2e94 100644 --- a/src/libsyntax/ext/base.rs +++ b/src/libsyntax/ext/base.rs @@ -120,7 +120,7 @@ impl MacResult { pub fn raw_dummy_expr(sp: codemap::Span) -> @ast::Expr { @ast::Expr { id: ast::DUMMY_NODE_ID, - node: ast::ExprLogLevel, + node: ast::ExprTup(Vec::new()), span: sp } } -- cgit 1.4.1-3-g733a5