chromium/v8/test/cctest/wasm/test-run-wasm-js.cc

// Copyright 2015 the V8 project authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "include/v8-function.h"
#include "src/api/api-inl.h"
#include "src/codegen/assembler-inl.h"
#include "src/objects/heap-number-inl.h"
#include "test/cctest/cctest.h"
#include "test/cctest/wasm/wasm-run-utils.h"
#include "test/common/value-helper.h"
#include "test/common/wasm/test-signatures.h"
#include "test/common/wasm/wasm-macro-gen.h"

namespace v8 {
namespace internal {
namespace wasm {

namespace {
// A helper for generating predictable but unique argument values that
// are easy to debug (e.g. with misaligned stacks).
class PredictableInputValues {};

ManuallyImportedJSFunction CreateJSSelector(FunctionSig* sig, int which) {}
}  // namespace

WASM_COMPILED_EXEC_TEST(Run_Int32Sub_jswrapped) {}

WASM_COMPILED_EXEC_TEST(Run_Float32Div_jswrapped) {}

WASM_COMPILED_EXEC_TEST(Run_Float64Add_jswrapped) {}

WASM_COMPILED_EXEC_TEST(Run_I32Popcount_jswrapped) {}

WASM_COMPILED_EXEC_TEST(Run_CallJS_Add_jswrapped) {}

void RunJSSelectTest(TestExecutionTier tier, int which) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelect_0) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelect_1) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelect_2) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelect_3) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelect_4) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelect_5) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelect_6) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelect_7) {}

void RunWASMSelectTest(TestExecutionTier tier, int which) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelect_0) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelect_1) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelect_2) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelect_3) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelect_4) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelect_5) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelect_6) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelect_7) {}

void RunWASMSelectAlignTest(TestExecutionTier tier, int num_args,
                            int num_params) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelectAlign_0) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelectAlign_1) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelectAlign_2) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelectAlign_3) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelectAlign_4) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelectAlign_7) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelectAlign_8) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelectAlign_9) {}

WASM_COMPILED_EXEC_TEST(Run_WASMSelectAlign_10) {}

void RunJSSelectAlignTest(TestExecutionTier tier, int num_args,
                          int num_params) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelectAlign_0) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelectAlign_1) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelectAlign_2) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelectAlign_3) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelectAlign_4) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelectAlign_7) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelectAlign_8) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelectAlign_9) {}

WASM_COMPILED_EXEC_TEST(Run_JSSelectAlign_10) {}

// Set up a test with an import, so we can return call it.
// Create a javascript function that returns left or right arguments
// depending on the value of the third argument
// function (a,b,c){ if(c)return a; return b; }

void RunPickerTest(TestExecutionTier tier, bool indirect) {}

WASM_COMPILED_EXEC_TEST(Run_ReturnCallImportedFunction) {}

}  // namespace wasm
}  // namespace internal
}  // namespace v8