mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-16 17:03:35 +00:00
correct typos
This commit is contained in:
parent
6a5b263503
commit
9c9f4be9df
@ -159,7 +159,7 @@ fn arg_value_refs<'bcx, 'tcx>(bcx: Block<'bcx, 'tcx>,
|
||||
llarg
|
||||
} else if common::type_is_fat_ptr(tcx, arg_ty) {
|
||||
// we pass fat pointers as two words, but we want to
|
||||
// represent them internally as a pointer two two words,
|
||||
// represent them internally as a pointer to two words,
|
||||
// so make an alloca to store them in.
|
||||
let lldata = llvm::get_param(fcx.llfn, idx);
|
||||
let llextra = llvm::get_param(fcx.llfn, idx + 1);
|
||||
|
@ -172,7 +172,7 @@ impl<'bcx, 'tcx> MirContext<'bcx, 'tcx> {
|
||||
//
|
||||
// Note that this is currently duplicated with src/libcore/ops.rs
|
||||
// which does the same thing, and it would be nice to perhaps unify
|
||||
// these two implementations on day! Also note that we call `fmod`
|
||||
// these two implementations one day! Also note that we call `fmod`
|
||||
// for both 32 and 64-bit floats because if we emit any FRem
|
||||
// instruction at all then LLVM is capable of optimizing it into a
|
||||
// 32-bit FRem (which we're trying to avoid).
|
||||
|
Loading…
Reference in New Issue
Block a user