mirror of
https://github.com/fluencelabs/wasmer
synced 2025-04-25 10:22:19 +00:00
Merge remote-tracking branch 'origin/fix/fpcc-workaround' into fix/fpcc-workaround
This commit is contained in:
commit
9930d54aaa
@ -614,7 +614,7 @@ pub mod x64_decl {
|
||||
|
||||
/// Returns the instruction prefix for `movq %this_reg, ?(%rsp)`.
|
||||
///
|
||||
/// To build a instruction, append the memory location as a 32-bit
|
||||
/// To build an instruction, append the memory location as a 32-bit
|
||||
/// offset to the stack pointer to this prefix.
|
||||
pub fn prefix_mov_to_stack(&self) -> Option<&'static [u8]> {
|
||||
Some(match *self {
|
||||
@ -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];
|
||||
|
Loading…
x
Reference in New Issue
Block a user