Merge pull request #4247 from RalfJung/foreign-items-comment
foreign_items: make comment more consistent
This commit is contained in:
commit
1d4208717e
1 changed files with 1 additions and 2 deletions
|
|
@ -222,7 +222,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
|
|||
this.write_scalar(res, dest)?;
|
||||
}
|
||||
|
||||
// Futex primitives
|
||||
// Synchronization primitives
|
||||
"os_sync_wait_on_address" => {
|
||||
let [addr_op, value_op, size_op, flags_op] =
|
||||
this.check_shim(abi, Conv::C, link_name, args)?;
|
||||
|
|
@ -273,7 +273,6 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
|
|||
addr_op, size_op, flags_op, /* all */ true, dest,
|
||||
)?;
|
||||
}
|
||||
|
||||
"os_unfair_lock_lock" => {
|
||||
let [lock_op] = this.check_shim(abi, Conv::C, link_name, args)?;
|
||||
this.os_unfair_lock_lock(lock_op)?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue