#include <memory>
#include "src/api/api-inl.h"
#include "src/api/api.h"
#include "src/builtins/builtins.h"
#include "src/common/message-template.h"
#include "src/execution/arguments-inl.h"
#include "src/execution/isolate-inl.h"
#include "src/execution/messages.h"
#include "src/execution/tiering-manager.h"
#include "src/handles/maybe-handles.h"
#include "src/logging/counters.h"
#include "src/numbers/conversions.h"
#include "src/objects/template-objects-inl.h"
#include "src/runtime/runtime-utils.h"
#include "src/utils/ostreams.h"
namespace v8 {
namespace internal {
RUNTIME_FUNCTION(Runtime_AccessCheck) { … }
RUNTIME_FUNCTION(Runtime_FatalProcessOutOfMemoryInAllocateRaw) { … }
RUNTIME_FUNCTION(Runtime_FatalProcessOutOfMemoryInvalidArrayLength) { … }
RUNTIME_FUNCTION(Runtime_FatalInvalidSize) { … }
RUNTIME_FUNCTION(Runtime_Throw) { … }
RUNTIME_FUNCTION(Runtime_ReThrow) { … }
RUNTIME_FUNCTION(Runtime_ReThrowWithMessage) { … }
RUNTIME_FUNCTION(Runtime_ThrowStackOverflow) { … }
RUNTIME_FUNCTION(Runtime_ThrowSymbolAsyncIteratorInvalid) { … }
RUNTIME_FUNCTION(Runtime_TerminateExecution) { … }
namespace {
Tagged<Object> NewError(Isolate* isolate, RuntimeArguments args,
Handle<JSFunction> (Isolate::*constructor_fn)()) { … }
Tagged<Object> ThrowError(Isolate* isolate, RuntimeArguments args,
Handle<JSFunction> (Isolate::*constructor_fn)()) { … }
}
RUNTIME_FUNCTION(Runtime_ThrowRangeError) { … }
RUNTIME_FUNCTION(…) { …
RUNTIME_FUNCTION(…) { …
namespace {
const char* ElementsKindToType(ElementsKind fixed_elements_kind) { … }
}
RUNTIME_FUNCTION(Runtime_ThrowInvalidTypedArrayAlignment) { … }
RUNTIME_FUNCTION(Runtime_UnwindAndFindExceptionHandler) { … }
RUNTIME_FUNCTION(Runtime_PropagateException) { … }
RUNTIME_FUNCTION(Runtime_ThrowReferenceError) { … }
RUNTIME_FUNCTION(Runtime_ThrowAccessedUninitializedVariable) { … }
RUNTIME_FUNCTION(Runtime_NewError) { … }
RUNTIME_FUNCTION(…) { …
RUNTIME_FUNCTION(Runtime_NewReferenceError) { … }
RUNTIME_FUNCTION(Runtime_ThrowInvalidStringLength) { … }
RUNTIME_FUNCTION(Runtime_ThrowIteratorResultNotAnObject) { … }
RUNTIME_FUNCTION(Runtime_ThrowThrowMethodMissing) { … }
RUNTIME_FUNCTION(Runtime_ThrowSymbolIteratorInvalid) { … }
RUNTIME_FUNCTION(Runtime_ThrowNoAccess) { … }
RUNTIME_FUNCTION(Runtime_ThrowNotConstructor) { … }
RUNTIME_FUNCTION(Runtime_ThrowApplyNonFunction) { … }
RUNTIME_FUNCTION(Runtime_StackGuard) { … }
RUNTIME_FUNCTION(Runtime_HandleNoHeapWritesInterrupts) { … }
RUNTIME_FUNCTION(Runtime_StackGuardWithGap) { … }
namespace {
Tagged<Object> BytecodeBudgetInterruptWithStackCheck(Isolate* isolate,
RuntimeArguments& args,
CodeKind code_kind) { … }
Tagged<Object> BytecodeBudgetInterrupt(Isolate* isolate, RuntimeArguments& args,
CodeKind code_kind) { … }
}
RUNTIME_FUNCTION(…) { …
RUNTIME_FUNCTION(…) { …
RUNTIME_FUNCTION(…) { …
RUNTIME_FUNCTION(…) { …
RUNTIME_FUNCTION(…) { …
RUNTIME_FUNCTION(…) { …
RUNTIME_FUNCTION(Runtime_AllocateInYoungGeneration) { … }
RUNTIME_FUNCTION(Runtime_AllocateInOldGeneration) { … }
RUNTIME_FUNCTION(Runtime_AllocateByteArray) { … }
RUNTIME_FUNCTION(Runtime_ThrowIteratorError) { … }
RUNTIME_FUNCTION(Runtime_ThrowSpreadArgError) { … }
RUNTIME_FUNCTION(Runtime_ThrowCalledNonCallable) { … }
RUNTIME_FUNCTION(Runtime_ThrowConstructedNonConstructable) { … }
RUNTIME_FUNCTION(Runtime_ThrowPatternAssignmentNonCoercible) { … }
RUNTIME_FUNCTION(Runtime_ThrowConstructorReturnedNonObject) { … }
RUNTIME_FUNCTION(Runtime_CreateListFromArrayLike) { … }
RUNTIME_FUNCTION(Runtime_IncrementUseCounter) { … }
RUNTIME_FUNCTION(Runtime_GetAndResetTurboProfilingData) { … }
RUNTIME_FUNCTION(Runtime_GetAndResetRuntimeCallStats) { … }
RUNTIME_FUNCTION(Runtime_OrdinaryHasInstance) { … }
RUNTIME_FUNCTION(Runtime_Typeof) { … }
RUNTIME_FUNCTION(Runtime_AllowDynamicFunction) { … }
RUNTIME_FUNCTION(Runtime_CreateAsyncFromSyncIterator) { … }
RUNTIME_FUNCTION(Runtime_GetTemplateObject) { … }
RUNTIME_FUNCTION(Runtime_ReportMessageFromMicrotask) { … }
RUNTIME_FUNCTION(Runtime_GetInitializerFunction) { … }
RUNTIME_FUNCTION(Runtime_DoubleToStringWithRadix) { … }
RUNTIME_FUNCTION(Runtime_SharedValueBarrierSlow) { … }
RUNTIME_FUNCTION(Runtime_InvalidateDependentCodeForConstTrackingLet) { … }
}
}