Fix typo (2)

Co-Authored-By: nlewycky <nick@wasmer.io>
This commit is contained in:
Heyang Zhou
2020-03-10 12:38:55 +08:00
committed by GitHub
parent cfbcd886d0
commit e521dfe8c1

View File

@ -650,7 +650,7 @@ pub mod x64_decl {
}
impl ArgumentRegisterAllocator {
/// Allocates a register for argument type `ty`. Returns `None` if no register is available for this type..
/// Allocates a register for argument type `ty`. Returns `None` if no register is available for this type.
pub fn next(&mut self, ty: Type) -> Option<X64Register> {
static GPR_SEQ: &'static [GPR] =
&[GPR::RDI, GPR::RSI, GPR::RDX, GPR::RCX, GPR::R8, GPR::R9];