mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-27 23:51:33 +00:00
Relax constraints a bit to compile on aarch64.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
use dynasmrt::{x64::Assembler, AssemblyOffset, DynamicLabel, DynasmApi, DynasmLabelApi};
|
||||
pub use wasmer_runtime_core::state::x64::{GPR, XMM};
|
||||
pub use wasmer_runtime_core::state::x64_decl::{GPR, XMM};
|
||||
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
|
||||
pub enum Location {
|
||||
@ -170,6 +170,13 @@ pub trait Emitter {
|
||||
fn emit_bkpt(&mut self);
|
||||
}
|
||||
|
||||
fn _dummy(a: &mut Assembler) {
|
||||
dynasm!(
|
||||
self
|
||||
; .arch x64
|
||||
);
|
||||
}
|
||||
|
||||
macro_rules! unop_gpr {
|
||||
($ins:ident, $assembler:tt, $sz:expr, $loc:expr, $otherwise:block) => {
|
||||
match ($sz, $loc) {
|
||||
|
Reference in New Issue
Block a user