Reword comment in mach_timebase_info
Co-Authored-By: Ralf Jung <post@ralfj.de>
This commit is contained in:
parent
90729bb039
commit
fff45b77ad
@ -169,9 +169,8 @@ fn mach_timebase_info(&mut self, info_op: OpTy<'tcx, Tag>) -> InterpResult<'tcx,
|
||||
|
||||
let info = this.deref_operand(info_op)?;
|
||||
|
||||
// Since we return nanoseconds instead of ticks from
|
||||
// `mach_absolute_time`, we don't need to scale the absolute
|
||||
// time.
|
||||
// Since our emulated ticks in `mach_absolute_time` *are* nanoseconds,
|
||||
// no scaling needs to happen.
|
||||
let (numer, denom) = (1,1);
|
||||
let imms = [
|
||||
immty_from_int_checked(numer, this.machine.layouts.u32)?,
|
||||
|
Loading…
Reference in New Issue
Block a user