v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
wasm-turboshaft-compiler.cc
Go to the documentation of this file.
1// Copyright 2023 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
6
15// TODO(14108): Remove.
18
20
23 wasm::WasmDetectedFeatures* detected, Counters* counters) {
25 Pipeline::GenerateWasmCode(env, data, detected, counters);
26 DCHECK(result.succeeded());
28 DCHECK_NULL(result.assumptions);
29 result.assumptions = std::move(data.assumptions);
30 DCHECK_IMPLIES(result.assumptions, !result.assumptions->empty());
31 return result;
32}
33
34} // namespace v8::internal::compiler::turboshaft
ZoneVector< RpoNumber > & result
wasm::WasmCompilationResult ExecuteTurboshaftWasmCompilation(wasm::CompilationEnv *env, compiler::WasmCompilationData &data, wasm::WasmDetectedFeatures *detected, Counters *counters)
#define DCHECK_NULL(val)
Definition logging.h:491
#define DCHECK_IMPLIES(v1, v2)
Definition logging.h:493
#define DCHECK(condition)
Definition logging.h:482
#define DCHECK_EQ(v1, v2)
Definition logging.h:485