mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-26 23:21:35 +00:00
Tell dynasm we are generating x64 code in emitter_x64
.
This commit is contained in:
@ -2,6 +2,13 @@ use dynasmrt::{x64::Assembler, AssemblyOffset, DynamicLabel, DynasmApi, DynasmLa
|
|||||||
use wasmer_runtime_core::backend::InlineBreakpointType;
|
use wasmer_runtime_core::backend::InlineBreakpointType;
|
||||||
pub use wasmer_runtime_core::state::x64_decl::{GPR, XMM};
|
pub use wasmer_runtime_core::state::x64_decl::{GPR, XMM};
|
||||||
|
|
||||||
|
fn _dummy(_a: &Assembler) {
|
||||||
|
dynasm!(
|
||||||
|
_a
|
||||||
|
; .arch x64
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
|
#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)]
|
||||||
pub enum Location {
|
pub enum Location {
|
||||||
Imm8(u8),
|
Imm8(u8),
|
||||||
|
Reference in New Issue
Block a user