chromium/v8/test/cctest/wasm/wasm-atomics-utils.h

// Copyright 2018 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.

#ifndef WASM_ATOMICOP_UTILS_H
#define WASM_ATOMICOP_UTILS_H

#include "test/cctest/cctest.h"
#include "test/cctest/wasm/wasm-run-utils.h"
#include "test/common/value-helper.h"

namespace v8 {
namespace internal {
namespace wasm {

#define WASM_ATOMIC_OPERATION_LIST(V)

Uint64BinOp;
Uint32BinOp;
Uint16BinOp;
Uint8BinOp;

template <typename T>
T Add(T a, T b) {}

template <typename T>
T Sub(T a, T b) {}

template <typename T>
T And(T a, T b) {}

template <typename T>
T Or(T a, T b) {}

template <typename T>
T Xor(T a, T b) {}

template <typename T>
T Exchange(T a, T b) {}

template <typename T>
T CompareExchange(T initial, T a, T b) {}

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

#endif