v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
type-assertions-phase.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
5
#include "
src/compiler/turboshaft/type-assertions-phase.h
"
6
7
#include "
src/compiler/js-heap-broker.h
"
8
#include "
src/compiler/turboshaft/assert-types-reducer.h
"
9
#include "
src/compiler/turboshaft/copying-phase.h
"
10
#include "
src/compiler/turboshaft/phase.h
"
11
#include "
src/compiler/turboshaft/type-inference-reducer.h
"
12
#include "
src/compiler/turboshaft/value-numbering-reducer.h
"
13
14
namespace
v8::internal::compiler::turboshaft
{
15
16
void
TypeAssertionsPhase::Run
(
PipelineData
* data,
Zone
* temp_zone) {
17
UnparkedScopeIfNeeded
scope(data->broker());
18
19
turboshaft::TypeInferenceReducerArgs::Scope
typing_args{
20
turboshaft::TypeInferenceReducerArgs::InputGraphTyping::kPrecise
,
21
turboshaft::TypeInferenceReducerArgs::OutputGraphTyping::
22
kPreserveFromInputGraph};
23
24
turboshaft::CopyingPhase
<
turboshaft::AssertTypesReducer
,
25
turboshaft::ValueNumberingReducer
,
26
turboshaft::TypeInferenceReducer
>
::Run
(data,
27
temp_zone);
28
}
29
30
}
// namespace v8::internal::compiler::turboshaft
assert-types-reducer.h
v8::base::ContextualVariable::Scope
Definition
contextual.h:36
v8::internal::Zone
Definition
zone.h:43
v8::internal::compiler::UnparkedScopeIfNeeded
Definition
js-heap-broker.h:548
v8::internal::compiler::turboshaft::AssertTypesReducer
Definition
assert-types-reducer.h:31
v8::internal::compiler::turboshaft::CopyingPhase
Definition
copying-phase.h:1065
v8::internal::compiler::turboshaft::PipelineData
Definition
phase.h:177
v8::internal::compiler::turboshaft::TypeInferenceReducer
Definition
value-numbering-reducer.h:73
v8::internal::compiler::turboshaft::ValueNumberingReducer
Definition
value-numbering-reducer.h:107
copying-phase.h
js-heap-broker.h
v8::internal::compiler::turboshaft
Definition
builtins.h:33
v8::internal::compiler::turboshaft::TypeAssertionsPhase::Run
void Run(PipelineData *data, Zone *temp_zone)
Definition
type-assertions-phase.cc:16
v8::internal::compiler::turboshaft::TypeInferenceReducerArgs::InputGraphTyping::kPrecise
@ kPrecise
phase.h
value-numbering-reducer.h
type-assertions-phase.h
type-inference-reducer.h
src
compiler
turboshaft
type-assertions-phase.cc
Generated on Sun Apr 6 2025 21:08:53 for v8 by
1.12.0