diff options
| author | Brian Anderson <[email protected]> | 2011-02-27 14:30:44 -0500 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-02 10:28:14 -0800 |
| commit | fe5de6bfffee3c277f540517b5766547f34e81c7 (patch) | |
| tree | 0c93def17b39f88ac2dca3e83fe5fb7416cfd058 /src/comp/middle | |
| parent | Add fold, typecheck and trans for expr_ext (diff) | |
| download | rust-fe5de6bfffee3c277f540517b5766547f34e81c7.tar.xz rust-fe5de6bfffee3c277f540517b5766547f34e81c7.zip | |
Parse parameter types for fmt extension
Diffstat (limited to 'src/comp/middle')
| -rw-r--r-- | src/comp/middle/trans.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index f8c3fd61..9fee3dab 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -1957,8 +1957,6 @@ fn trans_lit(@crate_ctxt cx, &ast.lit lit, &ast.ann ann) -> ValueRef { ret C_nil(); } case (ast.lit_str(?s)) { - log "translating literal:"; - log s; ret C_str(cx, s); } } @@ -3601,7 +3599,6 @@ fn trans_rec(@block_ctxt cx, vec[ast.field] fields, fn trans_expr(@block_ctxt cx, @ast.expr e) -> result { alt (e.node) { case (ast.expr_lit(?lit, ?ann)) { - log "translating literal"; ret res(cx, trans_lit(cx.fcx.ccx, *lit, ann)); } @@ -3697,7 +3694,6 @@ fn trans_expr(@block_ctxt cx, @ast.expr e) -> result { } case (ast.expr_ext(_, _, _, ?expanded, _)) { - log "translating extension"; ret trans_expr(cx, option.get[@ast.expr](expanded)); } |