Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
intrinsic.cpp
Go to the documentation of this file.
2
3namespace sysio { namespace chain { namespace eosvmoc {
4
5static intrinsic_map_t& the_intrinsic_map() {
6 static intrinsic_map_t intrinsic_map;
7 return intrinsic_map;
8}
9
11 return the_intrinsic_map();
12}
13
14intrinsic::intrinsic(const char* n, const IR::FunctionType* t, void* f, size_t o) {
15 the_intrinsic_map().erase(n);
16 the_intrinsic_map().emplace(n, intrinsic_entry{t, f, o});
17}
18
19}}}
const intrinsic_map_t & get_intrinsic_map()
Definition intrinsic.cpp:10
std::map< std::string, intrinsic_entry > intrinsic_map_t
Definition intrinsic.hpp:24
Definition intrinsic.hpp:18
intrinsic(const char *name, const IR::FunctionType *type, void *function_ptr, size_t ordinal)
Definition intrinsic.cpp:14