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

Go to the source code of this file.

Classes

class  v8::internal::RuntimeArgumentsWithoutHandles
 

Namespaces

namespace  v8
 
namespace  v8::internal
 

Macros

#define RuntimeArguments   RuntimeArgumentsWithoutHandles
 
#define RETURN_RESULT_OR_TRAP(call)
 

Functions

 v8::internal::RUNTIME_FUNCTION (Runtime_WasmGenericWasmToJSObject)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmGenericJSToWasmObject)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmJSToWasmObject)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmMemoryGrow)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_TrapHandlerThrowWasmError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ThrowWasmError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ThrowWasmStackOverflow)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmThrowJSTypeError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_ThrowWasmSuspendError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmThrowRangeError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmThrowDataViewTypeError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmThrowDataViewDetachedError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmThrowTypeError)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmThrow)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmReThrow)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStackGuard)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmCompileLazy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmAllocateFeedbackVector)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmLiftoffDeoptFinish)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_TierUpJSToWasmWrapper)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_IsWasmExternalFunction)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_TierUpWasmToJSWrapper)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmTriggerTierUp)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmI32AtomicWait)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmI64AtomicWait)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmRefFunc)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmInternalFunctionCreateExternal)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmFunctionTableGet)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmFunctionTableSet)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmTableInit)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmTableCopy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmTableGrow)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmTableFill)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmDebugBreak)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmArrayCopy)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmAllocateDescriptorStruct)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmArrayNewSegment)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmArrayInitSegment)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmAllocateSuspender)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmCastToSpecialPrimitiveArray)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringNewWtf8)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringNewWtf8Array)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringNewWtf16)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringNewWtf16Array)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmSubstring)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringConst)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringNewSegmentWtf8)
 
void v8::internal::ToUtf8Lossy (Isolate *isolate, DirectHandle< String > string, std::string &out)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringMeasureUtf8)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringMeasureWtf8)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringEncodeWtf8)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringEncodeWtf8Array)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringToUtf8Array)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringEncodeWtf16)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringAsWtf8)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringViewWtf8Encode)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringViewWtf8Slice)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringFromCodePoint)
 
 v8::internal::RUNTIME_FUNCTION (Runtime_WasmStringHash)
 

Macro Definition Documentation

◆ RETURN_RESULT_OR_TRAP

#define RETURN_RESULT_OR_TRAP ( call)
Value:
do { \
DirectHandle<Object> result; \
if (!(call).ToHandle(&result)) { \
DCHECK(isolate->has_exception()); \
/* Mark any exception as uncatchable by Wasm. */ \
DirectHandle<JSObject> exception(Cast<JSObject>(isolate->exception()), \
isolate); \
DirectHandle<Name> uncatchable = \
isolate->factory()->wasm_uncatchable_symbol(); \
LookupIterator it(isolate, exception, uncatchable, LookupIterator::OWN); \
if (!JSReceiver::HasProperty(&it).FromJust()) { \
JSObject::AddProperty(isolate, exception, uncatchable, \
isolate->factory()->true_value(), NONE); \
} \
return ReadOnlyRoots(isolate).exception(); \
} \
DCHECK(!isolate->has_exception() || \
IsTerminationException(isolate->exception())); \
return *result; \
} while (false)
ZoneVector< RpoNumber > & result

Definition at line 1395 of file runtime-wasm.cc.

◆ RuntimeArguments

#define RuntimeArguments   RuntimeArgumentsWithoutHandles

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

Variable Documentation

◆ frame_iterator_

StackFrameIterator frame_iterator_
private

Definition at line 83 of file runtime-wasm.cc.

◆ is_thread_in_wasm_

const bool is_thread_in_wasm_
private

Definition at line 142 of file runtime-wasm.cc.

◆ isolate_

Isolate* isolate_
private

Definition at line 141 of file runtime-wasm.cc.