Skip to content

Commit da0e0b6

Browse files
author
Eric Holk
committed
Removing excessively verbous logging.
1 parent a88af90 commit da0e0b6

File tree

1 file changed

+0
-37
lines changed

1 file changed

+0
-37
lines changed

src/comp/middle/trans.rs

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -5855,11 +5855,6 @@ fn trans_spawn(&@block_ctxt cx,
58555855
}
58565856
};
58575857

5858-
// dump a bunch of information
5859-
log_err "Translating Spawn " +
5860-
"(The compiled program is not actually running yet, don't worry!";
5861-
log_err #fmt("task name: %s", tname);
5862-
58635858
// Generate code
58645859
//
58655860
// This is a several step process. The following things need to happen
@@ -5920,20 +5915,8 @@ fn trans_spawn(&@block_ctxt cx,
59205915

59215916
// But first, we'll create a task.
59225917
let ValueRef lltname = C_str(bcx.fcx.lcx.ccx, tname);
5923-
log_err #fmt("ty(new_task) = %s",
5924-
val_str(bcx.fcx.lcx.ccx.tn,
5925-
bcx.fcx.lcx.ccx.upcalls.new_task));
5926-
log_err #fmt("ty(lltaskptr) = %s",
5927-
val_str(bcx.fcx.lcx.ccx.tn,
5928-
bcx.fcx.lltaskptr));
5929-
log_err #fmt("ty(lltname) = %s",
5930-
val_str(bcx.fcx.lcx.ccx.tn,
5931-
lltname));
5932-
5933-
log_err "Building upcall_new_task";
59345918
auto new_task = bcx.build.Call(bcx.fcx.lcx.ccx.upcalls.new_task,
59355919
[bcx.fcx.lltaskptr, lltname]);
5936-
log_err "Done";
59375920

59385921
// Okay, start the task.
59395922
// First we find the function
@@ -5955,29 +5938,9 @@ fn trans_spawn(&@block_ctxt cx,
59555938

59565939
auto args_size = size_of(bcx, args_ty).val;
59575940

5958-
log_err "Building call to start_task";
5959-
log_err #fmt("ty(start_task) = %s",
5960-
val_str(bcx.fcx.lcx.ccx.tn,
5961-
bcx.fcx.lcx.ccx.upcalls.start_task));
5962-
log_err #fmt("ty(lltaskptr) = %s",
5963-
val_str(bcx.fcx.lcx.ccx.tn,
5964-
bcx.fcx.lltaskptr));
5965-
log_err #fmt("ty(new_task) = %s",
5966-
val_str(bcx.fcx.lcx.ccx.tn,
5967-
new_task));
5968-
log_err #fmt("ty(llfnptr) = %s",
5969-
val_str(bcx.fcx.lcx.ccx.tn,
5970-
llfnptr_i));
5971-
log_err #fmt("ty(llargs) = %s",
5972-
val_str(bcx.fcx.lcx.ccx.tn,
5973-
llargs_i));
5974-
log_err #fmt("ty(args_size) = %s",
5975-
val_str(bcx.fcx.lcx.ccx.tn,
5976-
args_size));
59775941
bcx.build.Call(bcx.fcx.lcx.ccx.upcalls.start_task,
59785942
[bcx.fcx.lltaskptr, new_task,
59795943
llfnptr_i, llargs_i, args_size]);
5980-
log_err "Done";
59815944

59825945
/*
59835946
alt(dom) {

0 commit comments

Comments
 (0)