diff --git a/src/fn_call.rs b/src/fn_call.rs index 0f542951823..720737b5396 100644 --- a/src/fn_call.rs +++ b/src/fn_call.rs @@ -73,10 +73,6 @@ fn emulate_foreign_item( let tcx = &{this.tcx.tcx}; - // All these functions take raw pointers, so if we access memory directly - // (as opposed to through a place), we have to remember to erase any tag - // that might still hang around! - match &link_name[..] { "malloc" => { let size = this.read_scalar(args[0])?.to_usize(this)?;