mutable
A Database System for Research and Fast Prototyping
Loading...
Searching...
No Matches
Data Structures | Functions
m::wasm::detail Namespace Reference

Data Structures

struct  _var_helper
 Deduces a suitable specialization of Variable that can be NULL for the given type. More...
 
struct  _var_helper< Expr< T, L > >
 
struct  _var_helper< PrimitiveExpr< T, L > >
 
struct  global_helper
 Deduces a suitable specialization of Variable for global variables of the given type. More...
 
struct  global_helper< PrimitiveExpr< T, L > >
 
class  local_bit_storage
 Helper class to select appropriate storage for a LocalBit. More...
 
class  local_bit_storage< 1 >
 Specialization for a single bit. More...
 
struct  ptr_helper
 
struct  ptr_helper< PrimitiveExpr< T, L > >
 
struct  ptr_helper< void >
 
struct  the_reference
 
struct  V8InspectorClientImpl
 
struct  var_helper
 Deduces a suitable specialization of Variable for the given type. More...
 
struct  var_helper< Expr< T, L > >
 
struct  var_helper< PrimitiveExpr< T, L > >
 
class  variable_storage
 
struct  wasm_type_helper
 Converts a compile-time type into a runtime-type ::wasm::Type. More...
 
struct  wasm_type_helper< PrimitiveExpr< T, L >, 1 >
 Specialization for. More...
 
struct  wasm_type_helper< ReturnType(ParamTypes...), 1 >
 Specialization for. More...
 
struct  wasm_type_helper< T, 1 >
 Specialization for. More...
 
struct  wasm_type_helper< T, L >
 Specialization for. More...
 
struct  WebSocketChannel
 

Functions

void insist (const v8::FunctionCallbackInfo< v8::Value > &info)
 
void _throw (const v8::FunctionCallbackInfo< v8::Value > &info)
 
void print (const v8::FunctionCallbackInfo< v8::Value > &info)
 
void print_memory_consumption (const v8::FunctionCallbackInfo< v8::Value > &info)
 
void set_wasm_instance_raw_memory (const v8::FunctionCallbackInfo< v8::Value > &info)
 
void read_result_set (const v8::FunctionCallbackInfo< v8::Value > &info)
 
template<typename Index , typename V8ValueT , bool IsLower>
void index_seek (const v8::FunctionCallbackInfo< v8::Value > &info)
 
template<typename Index >
void index_sequential_scan (const v8::FunctionCallbackInfo< v8::Value > &info)
 
v8::Local< v8::String > mkstr (v8::Isolate &isolate, const std::string &str)
 
v8::Local< v8::WasmModuleObject > instantiate (v8::Isolate &isolate, v8::Local< v8::Object > imports)
 
v8::Local< v8::Object > create_env (v8::Isolate &isolate, const m::MatchBase &plan)
 
v8::Local< v8::String > to_json (v8::Isolate &isolate, v8::Local< v8::Value > val)
 
std::string create_js_debug_script (v8::Isolate &isolate, v8::Local< v8::Object > env, const WasmEngine::WasmContext &wasm_context)
 
void run_inspector (V8InspectorClientImpl &inspector, v8::Isolate &isolate, v8::Local< v8::Object > env)
 

Function Documentation

◆ _throw()

void m::wasm::detail::_throw ( const v8::FunctionCallbackInfo< v8::Value > &  info)

◆ create_env()

v8::Local< v8::Object > m::wasm::detail::create_env ( v8::Isolate &  isolate,
const m::MatchBase plan 
)

◆ create_js_debug_script()

std::string m::wasm::detail::create_js_debug_script ( v8::Isolate &  isolate,
v8::Local< v8::Object >  env,
const WasmEngine::WasmContext wasm_context 
)

◆ index_seek()

template<typename Index , typename V8ValueT , bool IsLower>
void m::wasm::detail::index_seek ( const v8::FunctionCallbackInfo< v8::Value > &  info)

◆ index_sequential_scan()

template<typename Index >
void m::wasm::detail::index_sequential_scan ( const v8::FunctionCallbackInfo< v8::Value > &  info)

Definition at line 565 of file V8Engine.cpp.

References m::WasmEngine::Get_Wasm_Context_By_ID(), and m::wasm::Module::ID().

◆ insist()

void m::wasm::detail::insist ( const v8::FunctionCallbackInfo< v8::Value > &  info)

Definition at line 233 of file V8Engine.cpp.

References m::wasm::Module::Get(), m::wasm::Module::get_message(), and M_insist.

Referenced by create_env().

◆ instantiate()

v8::Local< v8::WasmModuleObject > m::wasm::detail::instantiate ( v8::Isolate &  isolate,
v8::Local< v8::Object >  imports 
)

◆ mkstr()

v8::Local< v8::String > m::wasm::detail::mkstr ( v8::Isolate &  isolate,
const std::string &  str 
)

Definition at line 1041 of file V8Engine.cpp.

Referenced by instantiate(), and run_inspector().

◆ print()

void m::wasm::detail::print ( const v8::FunctionCallbackInfo< v8::Value > &  info)

Definition at line 264 of file V8Engine.cpp.

Referenced by create_env().

◆ print_memory_consumption()

void m::wasm::detail::print_memory_consumption ( const v8::FunctionCallbackInfo< v8::Value > &  info)

Definition at line 281 of file V8Engine.cpp.

References m::Options::Get(), and M_insist.

Referenced by create_env().

◆ read_result_set()

void m::wasm::detail::read_result_set ( const v8::FunctionCallbackInfo< v8::Value > &  info)

◆ run_inspector()

void m::wasm::detail::run_inspector ( V8InspectorClientImpl inspector,
v8::Isolate &  isolate,
v8::Local< v8::Object >  env 
)

◆ set_wasm_instance_raw_memory()

void m::wasm::detail::set_wasm_instance_raw_memory ( const v8::FunctionCallbackInfo< v8::Value > &  info)

Definition at line 292 of file V8Engine.cpp.

References m::WasmEngine::Get_Wasm_Context_By_ID().

◆ to_json()

v8::Local< v8::String > m::wasm::detail::to_json ( v8::Isolate &  isolate,
v8::Local< v8::Value >  val 
)

Definition at line 1181 of file V8Engine.cpp.

References M_insist.

Referenced by create_js_debug_script().