![]() |
mutable
A Database System for Research and Fast Prototyping
|
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) |
void m::wasm::detail::_throw | ( | const v8::FunctionCallbackInfo< v8::Value > & | info | ) |
Definition at line 248 of file V8Engine.cpp.
References m::wasm::Module::Get(), m::wasm::Module::get_message(), M_insist, and m::wasm::exception::names_.
Referenced by create_env().
v8::Local< v8::Object > m::wasm::detail::create_env | ( | v8::Isolate & | isolate, |
const m::MatchBase & | plan | ||
) |
Definition at line 1075 of file V8Engine.cpp.
References _throw(), ADD_FUNC, ADD_FUNC_, ADD_FUNCS, m::wasm::CodeGenContext::add_literal(), m::Ceil_To_Next_Page(), EMIT_FUNC_IMPORTS, m::wasm::Module::emit_function_import(), m::wasm::Module::emit_import(), m::wasm::Module::Get(), m::wasm::CodeGenContext::Get(), m::MatchBase::get_matched_root(), m::WasmEngine::Get_Wasm_Context_By_ID(), m::wasm::Module::ID(), insist(), m::Is_Page_Aligned(), M_DISCARD, M_insist, print(), print_memory_consumption(), and read_result_set().
std::string m::wasm::detail::create_js_debug_script | ( | v8::Isolate & | isolate, |
v8::Local< v8::Object > | env, | ||
const WasmEngine::WasmContext & | wasm_context | ||
) |
Definition at line 1188 of file V8Engine.cpp.
References m::wasm::Module::binary(), m::wasm::Module::Get(), m::WasmEngine::WasmContext::id, and to_json().
Referenced by run_inspector().
void m::wasm::detail::index_seek | ( | const v8::FunctionCallbackInfo< v8::Value > & | info | ) |
Definition at line 535 of file V8Engine.cpp.
References m::WasmEngine::Get_Wasm_Context_By_ID(), m::wasm::Module::ID(), M_CONSTEXPR_COND, and M_insist.
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().
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().
v8::Local< v8::WasmModuleObject > m::wasm::detail::instantiate | ( | v8::Isolate & | isolate, |
v8::Local< v8::Object > | imports | ||
) |
Definition at line 1046 of file V8Engine.cpp.
References m::wasm::Module::binary(), m::Options::Get(), m::wasm::Module::Get(), and 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().
void m::wasm::detail::print | ( | const v8::FunctionCallbackInfo< v8::Value > & | info | ) |
Definition at line 264 of file V8Engine.cpp.
Referenced by create_env().
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().
void m::wasm::detail::read_result_set | ( | const v8::FunctionCallbackInfo< v8::Value > & | info | ) |
helper function to print given
ast::Constant
c
ofType
type
toout
Definition at line 306 of file V8Engine.cpp.
References args, m::Tuple::clear(), m::Interpreter::compile_load(), m::WasmEngine::Get_Wasm_Context_By_ID(), m::wasm::Module::ID(), M_insist, M_unreachable, m::wasm::n, m::wasm::op, m::Tuple::set(), m::wasm::value, and m::visit().
Referenced by create_env().
void m::wasm::detail::run_inspector | ( | V8InspectorClientImpl & | inspector, |
v8::Isolate & | isolate, | ||
v8::Local< v8::Object > | env | ||
) |
Definition at line 1247 of file V8Engine.cpp.
References create_js_debug_script(), m::wasm::detail::V8InspectorClientImpl::deregister_context(), m::WasmEngine::Get_Wasm_Context_By_ID(), m::wasm::Module::ID(), mkstr(), m::wasm::detail::V8InspectorClientImpl::register_context(), and m::wasm::detail::V8InspectorClientImpl::start().
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().
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().