chromium/v8/src/codegen/code-reference.cc

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

#include "src/codegen/code-reference.h"

#include "src/codegen/code-desc.h"
#include "src/common/globals.h"
#include "src/handles/handles-inl.h"
#include "src/objects/objects-inl.h"

#if V8_ENABLE_WEBASSEMBLY
#include "src/wasm/wasm-code-manager.h"
#endif  // V8_ENABLE_WEBASSEMBLY

namespace v8 {
namespace internal {

namespace {

struct CodeOps {};

#if V8_ENABLE_WEBASSEMBLY
struct WasmCodeOps {};
#endif  // V8_ENABLE_WEBASSEMBLY

struct CodeDescOps {};
}  // namespace

#if V8_ENABLE_WEBASSEMBLY
#define HANDLE_WASM
#else
#define HANDLE_WASM
#endif

#define DISPATCH

DISPATCH
DISPATCH
DISPATCH
DISPATCH
DISPATCH
DISPATCH
DISPATCH
DISPATCH
DISPATCH

#undef DISPATCH
#undef HANDLE_WASM

}  // namespace internal
}  // namespace v8