![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <atomic>#include <memory>#include <vector>#include "src/base/platform/time.h"#include "src/base/platform/wrappers.h"#include "src/base/small-vector.h"#include "src/base/vector.h"#include "src/common/simd128.h"#include "src/logging/counters.h"#include "src/wasm/function-body-decoder-impl.h"#include "src/wasm/interpreter/instruction-handlers.h"#include "src/wasm/interpreter/wasm-interpreter-objects.h"#include "src/wasm/wasm-value.h"Go to the source code of this file.
Namespaces | |
| namespace | v8 |
| namespace | v8::internal |
| namespace | v8::internal::wasm |
Macros | |
| #define | VECTORCALL |
| #define | INSTRUCTION_HANDLER_FUNC __attribute__((noinline)) static DISABLE_CFI_ICALL void VECTORCALL |
| #define | MUSTTAIL |
| #define | DEFINE_INSTR_HANDLER(name) |
Typedefs | |
| using | v8::internal::wasm::pc_t = size_t |
| using | v8::internal::wasm::CodeOffset = size_t |
| using | v8::internal::wasm::WasmRef = DirectHandle<Object> |
| typedef uint32_t * | v8::internal::wasm::sp |
| typedef uint32_t WasmInterpreterRuntime * | v8::internal::wasm::wasm_runtime |
| typedef uint32_t WasmInterpreterRuntime int64_t | v8::internal::wasm::r0 |
| typedef uint32_t WasmInterpreterRuntime int64_t double | v8::internal::wasm::fp0 |
Functions | |
| typedef | v8::internal::wasm::void (VECTORCALL PWasmOp)(const uint8_t *code |
| RegMode | v8::internal::wasm::GetRegMode (ValueKind kind) |
| template<typename T > | |
| INSTRUCTION_HANDLER_FUNC | v8::internal::wasm::trace_PushSlot (const uint8_t *code, uint32_t *sp, WasmInterpreterRuntime *wasm_runtime, int64_t r0, double fp0) |
| template<typename T > | |
| static ValueType | v8::internal::wasm::value_type () |
| template<> | |
| ValueType | v8::internal::wasm::value_type< int32_t > () |
| template<> | |
| ValueType | v8::internal::wasm::value_type< uint32_t > () |
| template<> | |
| ValueType | v8::internal::wasm::value_type< int64_t > () |
| template<> | |
| ValueType | v8::internal::wasm::value_type< uint64_t > () |
| template<> | |
| ValueType | v8::internal::wasm::value_type< float > () |
| template<> | |
| ValueType | v8::internal::wasm::value_type< double > () |
| template<> | |
| ValueType | v8::internal::wasm::value_type< Simd128 > () |
| template<> | |
| ValueType | v8::internal::wasm::value_type< WasmRef > () |
| InstructionHandler | v8::internal::wasm::ReadFnId (const uint8_t *&code) |
Variables | |
| static const size_t | v8::internal::wasm::kOperatorModeCount = 4 |
| static const RegModeTransform | v8::internal::wasm::kRegModes [256] |
| static const size_t | v8::internal::wasm::kSlotSize = sizeof(int32_t) |
| static const ptrdiff_t | v8::internal::wasm::kCodeOffsetSize = sizeof(int32_t) |
| constexpr uint32_t | v8::internal::wasm::kBranchOnCastDataTargetTypeBitSize = 30 |
| static constexpr uint32_t | v8::internal::wasm::kInstructionTableSize = 4096 |
| static constexpr uint32_t | v8::internal::wasm::kInstructionTableMask = kInstructionTableSize - 1 |
| #define DEFINE_INSTR_HANDLER | ( | name | ) |
Definition at line 1218 of file wasm-interpreter.h.
| #define INSTRUCTION_HANDLER_FUNC __attribute__((noinline)) static DISABLE_CFI_ICALL void VECTORCALL |
Definition at line 47 of file wasm-interpreter.h.
| #define MUSTTAIL |
Definition at line 678 of file wasm-interpreter.h.
| #define VECTORCALL |
Definition at line 40 of file wasm-interpreter.h.