Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::wasm_injections::f64_demote_injector Struct Reference

#include <wasm_sysio_injection.hpp>

Static Public Member Functions

static void init ()
 
static void accept (wasm_ops::instr *inst, wasm_ops::visitor_arg &arg)
 

Static Public Attributes

static constexpr bool kills = true
 
static constexpr bool post = false
 

Detailed Description

Definition at line 493 of file wasm_sysio_injection.hpp.

Member Function Documentation

◆ accept()

static void sysio::chain::wasm_injections::f64_demote_injector::accept ( wasm_ops::instr * inst,
wasm_ops::visitor_arg & arg )
inlinestatic

Definition at line 497 of file wasm_sysio_injection.hpp.

497 {
498 int32_t idx;
499 injector_utils::add_import<ResultType::f32, ValueType::f64>( *(arg.module), u8"_sysio_f64_demote", idx );
500 wasm_ops::op_types<>::call_t f32promote;
501 f32promote.field = idx;
502 f32promote.pack(arg.new_code);
503 }
signed int int32_t
Definition stdint.h:123
static void add_import(Module &module, const char *func_name, int32_t &index)
Here is the call graph for this function:

◆ init()

static void sysio::chain::wasm_injections::f64_demote_injector::init ( )
inlinestatic

Definition at line 496 of file wasm_sysio_injection.hpp.

496{}

Member Data Documentation

◆ kills

bool sysio::chain::wasm_injections::f64_demote_injector::kills = true
staticconstexpr

Definition at line 494 of file wasm_sysio_injection.hpp.

◆ post

bool sysio::chain::wasm_injections::f64_demote_injector::post = false
staticconstexpr

Definition at line 495 of file wasm_sysio_injection.hpp.


The documentation for this struct was generated from the following file: