v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
wasm-objects.cc File Reference
Include dependency graph for wasm-objects.cc:

Go to the source code of this file.

Namespaces

namespace  v8
 
namespace  v8::internal
 
namespace  v8::internal::wasm
 

Macros

#define TRACE_IFT(...)
 
#define CASE_TYPE(valuetype, ctype)
 
#define CASE_TYPE(valuetype, ctype)
 
#define CASE_TYPE(value_type, ctype)
 

Typedefs

using v8::internal::WasmFunction = wasm::WasmFunction
 
using v8::internal::WasmModule = wasm::WasmModule
 

Functions

void v8::internal::EncodeI32ExceptionValue (DirectHandle< FixedArray > encoded_values, uint32_t *encoded_index, uint32_t value)
 
void v8::internal::EncodeI64ExceptionValue (DirectHandle< FixedArray > encoded_values, uint32_t *encoded_index, uint64_t value)
 
void v8::internal::DecodeI32ExceptionValue (DirectHandle< FixedArray > encoded_values, uint32_t *encoded_index, uint32_t *value)
 
void v8::internal::DecodeI64ExceptionValue (DirectHandle< FixedArray > encoded_values, uint32_t *encoded_index, uint64_t *value)
 
bool v8::internal::UseGenericWasmToJSWrapper (wasm::ImportCallKind kind, const wasm::CanonicalSig *sig, wasm::Suspend suspend)
 
DirectHandle< Mapv8::internal::CreateStructMap (Isolate *isolate, wasm::CanonicalTypeIndex struct_index, DirectHandle< Map > opt_rtt_parent, DirectHandle< NativeContext > opt_native_context)
 
DirectHandle< Mapv8::internal::CreateArrayMap (Isolate *isolate, wasm::CanonicalTypeIndex array_index, DirectHandle< Map > opt_rtt_parent)
 
DirectHandle< Mapv8::internal::CreateFuncRefMap (Isolate *isolate, wasm::CanonicalTypeIndex type, DirectHandle< Map > opt_rtt_parent)
 
MaybeDirectHandle< Objectv8::internal::wasm::JSToWasmObject (Isolate *isolate, DirectHandle< Object > value, CanonicalValueType expected, const char **error_message)
 
MaybeDirectHandle< Objectv8::internal::wasm::JSToWasmObject (Isolate *isolate, const WasmModule *module, DirectHandle< Object > value, ValueType expected, const char **error_message)
 
DirectHandle< Objectv8::internal::wasm::WasmToJSObject (Isolate *isolate, DirectHandle< Object > value)
 

Macro Definition Documentation

◆ CASE_TYPE [1/3]

#define CASE_TYPE ( value_type,
ctype )
Value:
case wasm::value_type: \
return wasm::WasmValue(base::ReadUnalignedValue<ctype>(element_address));

◆ CASE_TYPE [2/3]

#define CASE_TYPE ( valuetype,
ctype )
Value:
case wasm::valuetype: \
return wasm::WasmValue(base::ReadUnalignedValue<ctype>(ptr));

◆ CASE_TYPE [3/3]

#define CASE_TYPE ( valuetype,
ctype )
Value:
case wasm::valuetype: \
return wasm::WasmValue(base::ReadUnalignedValue<ctype>(field_address));

◆ TRACE_IFT

#define TRACE_IFT ( ...)
Value:
do { \
if (false) PrintF(__VA_ARGS__); \
} while (false)

Definition at line 54 of file wasm-objects.cc.