Merge pull request #601 from RalfJung/comment

remove outdated comment
This commit is contained in:
Ralf Jung 2019-01-25 15:51:04 +01:00 committed by GitHub
commit 39bf6087a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)?;