Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
sysio::chain::wasm_injections::f32_trunc_i64_injector< Opcode > Struct Template 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

template<uint16_t Opcode>
struct sysio::chain::wasm_injections::f32_trunc_i64_injector< Opcode >

Definition at line 389 of file wasm_sysio_injection.hpp.

Member Function Documentation

◆ accept()

template<uint16_t Opcode>
static void sysio::chain::wasm_injections::f32_trunc_i64_injector< Opcode >::accept ( wasm_ops::instr * inst,
wasm_ops::visitor_arg & arg )
inlinestatic

Definition at line 393 of file wasm_sysio_injection.hpp.

393 {
394 int32_t idx;
396 wasm_ops::op_types<>::call_t f32op;
397 f32op.field = idx;
398 f32op.pack(arg.new_code);
399 }
Opcode
Definition Operators.h:576
constexpr const char * inject_which_op(uint16_t opcode)
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()

template<uint16_t Opcode>
static void sysio::chain::wasm_injections::f32_trunc_i64_injector< Opcode >::init ( )
inlinestatic

Definition at line 392 of file wasm_sysio_injection.hpp.

392{}

Member Data Documentation

◆ kills

template<uint16_t Opcode>
bool sysio::chain::wasm_injections::f32_trunc_i64_injector< Opcode >::kills = true
staticconstexpr

Definition at line 390 of file wasm_sysio_injection.hpp.

◆ post

template<uint16_t Opcode>
bool sysio::chain::wasm_injections::f32_trunc_i64_injector< Opcode >::post = false
staticconstexpr

Definition at line 391 of file wasm_sysio_injection.hpp.


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