MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / new

Method new

winch/codegen/src/isa/aarch64/asm.rs:116–123  ·  view source on GitHub ↗

Create a new Aarch64 assembler.

(shared_flags: settings::Flags, isa_flags: aarch64::settings::Flags)

Source from the content-addressed store, hash-verified

114impl Assembler {
115 /// Create a new Aarch64 assembler.
116 pub fn new(shared_flags: settings::Flags, isa_flags: aarch64::settings::Flags) -> Self {
117 Self {
118 buffer: MachBuffer::<Inst>::new(),
119 emit_state: Default::default(),
120 emit_info: EmitInfo::new(shared_flags, isa_flags),
121 pool: ConstantPool::new(),
122 }
123 }
124}
125
126impl Assembler {

Callers

nothing calls this directly

Calls 4

start_patchableMethod · 0.80
put_dataMethod · 0.80
end_patchableMethod · 0.80
newFunction · 0.50

Tested by

no test coverage detected