v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
graph-zone-traits.h
Go to the documentation of this file.
1
// Copyright 2020 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
#ifndef V8_COMPILER_GRAPH_ZONE_TRAITS_H_
6
#define V8_COMPILER_GRAPH_ZONE_TRAITS_H_
7
8
#include "
src/zone/zone-type-traits.h
"
9
10
namespace
v8
{
11
namespace
internal
{
12
namespace
compiler {
13
14
// Forward declarations.
15
class
Node;
16
17
// GraphZoneTraits provides typedefs for zone pointer types that are either
18
// compressed or not depending on the kCompressGraphZone flag.
19
using
GraphZoneTraits
=
ZoneTypeTraits<kCompressGraphZone>
;
20
21
// ZoneNodePtr is a possibly compressed pointer to a Node allocated in a zone
22
// memory.
23
using
ZoneNodePtr
= GraphZoneTraits::Ptr<Node>;
24
25
}
// namespace compiler
26
}
// namespace internal
27
}
// namespace v8
28
29
#endif
// V8_COMPILER_GRAPH_ZONE_TRAITS_H_
v8::internal::compiler::ZoneNodePtr
GraphZoneTraits::Ptr< Node > ZoneNodePtr
Definition
graph-zone-traits.h:23
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
v8::internal::ZoneTypeTraits
Definition
zone-type-traits.h:44
zone-type-traits.h
src
compiler
graph-zone-traits.h
Generated on Sun Apr 6 2025 21:08:51 for v8 by
1.12.0