Commit 7e8df34e authored by Clemens Backes's avatar Clemens Backes Committed by Commit Bot

[no-wasm] Group wasm test functions in a separate macro list

A little cleanup after https://crrev.com/c/2752867.

R=jkummerow@chromium.org

Bug: v8:11238
Change-Id: I6e8b29c852ce6f8267f4b2fb4afe404659503a64
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2756527Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Clemens Backes <clemensb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#73380}
parent f468a85d
......@@ -474,23 +474,17 @@ namespace internal {
F(DebugTrace, 0, 1) \
F(DebugTrackRetainingPath, -1, 1) \
F(DeoptimizeFunction, 1, 1) \
IF_WASM(F, DeserializeWasmModule, 2, 1) \
F(DisallowCodegenFromStrings, 1, 1) \
IF_WASM(F, DisallowWasmCodegen, 1, 1) \
F(DisassembleFunction, 1, 1) \
F(DynamicCheckMapsEnabled, 0, 1) \
F(IsTopTierTurboprop, 0, 1) \
F(IsMidTierTurboprop, 0, 1) \
F(EnableCodeLoggingForTesting, 0, 1) \
F(EnsureFeedbackVectorForFunction, 1, 1) \
IF_WASM(F, FreezeWasmLazyCompilation, 1, 1) \
F(GetCallable, 0, 1) \
F(GetInitializerFunction, 1, 1) \
F(GetOptimizationStatus, -1, 1) \
F(GetUndetectable, 0, 1) \
IF_WASM(F, GetWasmExceptionId, 2, 1) \
IF_WASM(F, GetWasmExceptionValues, 1, 1) \
IF_WASM(F, GetWasmRecoveredTrapCount, 0, 1) \
F(GlobalPrint, 1, 1) \
F(HasDictionaryElements, 1, 1) \
F(HasDoubleElements, 1, 1) \
......@@ -520,14 +514,9 @@ namespace internal {
F(ICsAreEnabled, 0, 1) \
F(InLargeObjectSpace, 1, 1) \
F(InYoungGeneration, 1, 1) \
IF_WASM(F, IsAsmWasmCode, 1, 1) \
F(IsBeingInterpreted, 0, 1) \
F(IsConcurrentRecompilationSupported, 0, 1) \
F(IsDictPropertyConstTrackingEnabled, 0, 1) \
IF_WASM(F, IsLiftoffFunction, 1, 1) \
IF_WASM(F, IsThreadInWasm, 0, 1) \
IF_WASM(F, IsWasmCode, 1, 1) \
IF_WASM(F, IsWasmTrapHandlerEnabled, 0, 1) \
F(RegexpHasBytecode, 2, 1) \
F(RegexpHasNativeCode, 2, 1) \
F(RegexpTypeTag, 1, 1) \
......@@ -545,12 +534,9 @@ namespace internal {
F(RunningInSimulator, 0, 1) \
F(RuntimeEvaluateREPL, 1, 1) \
F(SerializeDeserializeNow, 0, 1) \
IF_WASM(F, SerializeWasmModule, 1, 1) \
F(SetAllocationTimeout, -1 /* 2 || 3 */, 1) \
F(SetForceSlowPath, 1, 1) \
F(SetIteratorProtector, 0, 1) \
IF_WASM(F, SetWasmCompileControls, 2, 1) \
IF_WASM(F, SetWasmInstantiateControls, 0, 1) \
F(SimulateNewspaceFull, 0, 1) \
F(ScheduleGCInStackCheck, 0, 1) \
F(StringIteratorProtector, 0, 1) \
......@@ -560,14 +546,6 @@ namespace internal {
F(TurbofanStaticAssert, 1, 1) \
F(TypedArraySpeciesProtector, 0, 1) \
F(UnblockConcurrentRecompilation, 0, 1) \
IF_WASM(F, WasmGetNumberOfInstances, 1, 1) \
IF_WASM(F, WasmNumCodeSpaces, 1, 1) \
IF_WASM(F, WasmTierDown, 0, 1) \
IF_WASM(F, WasmTierUp, 0, 1) \
IF_WASM(F, WasmTierUpFunction, 2, 1) \
IF_WASM(F, WasmTraceEnter, 0, 1) \
IF_WASM(F, WasmTraceExit, 1, 1) \
IF_WASM(F, WasmTraceMemory, 1, 1) \
I(DeoptimizeNow, 0, 1) \
F(PromiseSpeciesProtector, 0, 1) \
F(IsConcatSpreadableProtector, 0, 1) \
......@@ -605,6 +583,30 @@ namespace internal {
F(WasmDebugBreak, 0, 1) \
F(WasmAllocateRtt, 2, 1)
#define FOR_EACH_INTRINSIC_WASM_TEST(F, I) \
F(DeserializeWasmModule, 2, 1) \
F(DisallowWasmCodegen, 1, 1) \
F(FreezeWasmLazyCompilation, 1, 1) \
F(GetWasmExceptionId, 2, 1) \
F(GetWasmExceptionValues, 1, 1) \
F(GetWasmRecoveredTrapCount, 0, 1) \
F(IsAsmWasmCode, 1, 1) \
F(IsLiftoffFunction, 1, 1) \
F(IsThreadInWasm, 0, 1) \
F(IsWasmCode, 1, 1) \
F(IsWasmTrapHandlerEnabled, 0, 1) \
F(SerializeWasmModule, 1, 1) \
F(SetWasmCompileControls, 2, 1) \
F(SetWasmInstantiateControls, 0, 1) \
F(WasmGetNumberOfInstances, 1, 1) \
F(WasmNumCodeSpaces, 1, 1) \
F(WasmTierDown, 0, 1) \
F(WasmTierUp, 0, 1) \
F(WasmTierUpFunction, 2, 1) \
F(WasmTraceEnter, 0, 1) \
F(WasmTraceExit, 1, 1) \
F(WasmTraceMemory, 1, 1)
#define FOR_EACH_INTRINSIC_WEAKREF(F, I) \
F(JSFinalizationRegistryRegisterWeakCellWithUnregisterToken, 4, 1) \
F(JSWeakRefAddToKeptObjects, 1, 1) \
......@@ -671,6 +673,7 @@ namespace internal {
FOR_EACH_INTRINSIC_TEST(F, I) \
FOR_EACH_INTRINSIC_TYPEDARRAY(F, I) \
IF_WASM(FOR_EACH_INTRINSIC_WASM, F, I) \
IF_WASM(FOR_EACH_INTRINSIC_WASM_TEST, F, I) \
FOR_EACH_INTRINSIC_WEAKREF(F, I)
// Defines the list of all intrinsics, coming in 2 flavors, either returning an
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment