663a8630e6
This reverts commit bab592fd28.
Reason for revert: Breaks SIMARM_X64 build and crashes in hot-reload.
Original change's description:
> [vm/ffi] Dispatch native callbacks through trampolines if we can't ensure callbacks will always be executable.
>
> Issue https://github.com/dart-lang/sdk/issues/37629
>
> Change-Id: Ib61c32bde5a8b38d90b4da77e27e3874b8bfb7e2
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/111432
> Commit-Queue: Samir Jindel <sjindel@google.com>
> Reviewed-by: Martin Kustermann <kustermann@google.com>
TBR=kustermann@google.com,alexmarkov@google.com,sjindel@google.com
Change-Id: Id7dc3068a97debc7a8f757df31ef33fb68bdcb44
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113827
Reviewed-by: Samir Jindel <sjindel@google.com>
Commit-Queue: Samir Jindel <sjindel@google.com>
95 lines
6.6 KiB
C++
95 lines
6.6 KiB
C++
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
#ifndef RUNTIME_VM_RUNTIME_ENTRY_LIST_H_
|
|
#define RUNTIME_VM_RUNTIME_ENTRY_LIST_H_
|
|
|
|
namespace dart {
|
|
|
|
#define RUNTIME_ENTRY_LIST(V) \
|
|
V(AllocateArray) \
|
|
V(AllocateContext) \
|
|
V(AllocateObject) \
|
|
V(AllocateSubtypeTestCache) \
|
|
V(BreakpointRuntimeHandler) \
|
|
V(SingleStepHandler) \
|
|
V(CloneContext) \
|
|
V(GetFieldForDispatch) \
|
|
V(ResolveCallFunction) \
|
|
V(FixCallersTarget) \
|
|
V(FixCallersTargetMonomorphic) \
|
|
V(FixAllocationStubTarget) \
|
|
V(InlineCacheMissHandlerOneArg) \
|
|
V(InlineCacheMissHandlerTwoArgs) \
|
|
V(StaticCallMissHandlerOneArg) \
|
|
V(StaticCallMissHandlerTwoArgs) \
|
|
V(InterpretedInterfaceCallMissHandler) \
|
|
V(Instanceof) \
|
|
V(SubtypeCheck) \
|
|
V(TypeCheck) \
|
|
V(BadTypeError) \
|
|
V(NonBoolTypeError) \
|
|
V(InstantiateType) \
|
|
V(InstantiateTypeArguments) \
|
|
V(NoSuchMethodFromCallStub) \
|
|
V(NoSuchMethodFromPrologue) \
|
|
V(InvokeNoSuchMethod) \
|
|
V(MegamorphicCacheMissHandler) \
|
|
V(OptimizeInvokedFunction) \
|
|
V(TraceICCall) \
|
|
V(PatchStaticCall) \
|
|
V(RangeError) \
|
|
V(NullError) \
|
|
V(NullErrorWithSelector) \
|
|
V(ArgumentNullError) \
|
|
V(ArgumentError) \
|
|
V(ArgumentErrorUnboxedInt64) \
|
|
V(IntegerDivisionByZeroException) \
|
|
V(ReThrow) \
|
|
V(StackOverflow) \
|
|
V(Throw) \
|
|
V(DeoptimizeMaterialize) \
|
|
V(RewindPostDeopt) \
|
|
V(UpdateFieldCid) \
|
|
V(InitStaticField) \
|
|
V(CompileFunction) \
|
|
V(CompileInterpretedFunction) \
|
|
V(MonomorphicMiss) \
|
|
V(SingleTargetMiss) \
|
|
V(UnlinkedCall)
|
|
|
|
#define LEAF_RUNTIME_ENTRY_LIST(V) \
|
|
V(void, PrintStopMessage, const char*) \
|
|
V(intptr_t, DeoptimizeCopyFrame, uword, uword) \
|
|
V(void, DeoptimizeFillFrame, uword) \
|
|
V(void, StoreBufferBlockProcess, Thread*) \
|
|
V(void, MarkingStackBlockProcess, Thread*) \
|
|
V(void, RememberCard, RawObject*, RawObject**) \
|
|
V(RawObject*, AddAllocatedObjectToRememberedSet, RawObject* object, \
|
|
Thread* thread) \
|
|
V(double, LibcPow, double, double) \
|
|
V(double, DartModulo, double, double) \
|
|
V(double, LibcFloor, double) \
|
|
V(double, LibcCeil, double) \
|
|
V(double, LibcTrunc, double) \
|
|
V(double, LibcRound, double) \
|
|
V(double, LibcCos, double) \
|
|
V(double, LibcSin, double) \
|
|
V(double, LibcTan, double) \
|
|
V(double, LibcAcos, double) \
|
|
V(double, LibcAsin, double) \
|
|
V(double, LibcAtan, double) \
|
|
V(double, LibcAtan2, double, double) \
|
|
V(RawBool*, CaseInsensitiveCompareUCS2, RawString*, RawSmi*, RawSmi*, \
|
|
RawSmi*) \
|
|
V(RawBool*, CaseInsensitiveCompareUTF16, RawString*, RawSmi*, RawSmi*, \
|
|
RawSmi*) \
|
|
V(void, EnterSafepoint) \
|
|
V(void, ExitSafepoint) \
|
|
V(void, VerifyCallbackIsolate, int32_t, uword)
|
|
|
|
} // namespace dart
|
|
|
|
#endif // RUNTIME_VM_RUNTIME_ENTRY_LIST_H_
|