V8 Project
node-aux-data.h
Go to the documentation of this file.
1
// Copyright 2014 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_NODE_AUX_DATA_H_
6
#define V8_COMPILER_NODE_AUX_DATA_H_
7
8
#include "
src/zone-containers.h
"
9
10
namespace
v8
{
11
namespace
internal {
12
namespace
compiler {
13
14
// Forward declarations.
15
class
Graph;
16
class
Node;
17
18
template
<
class
T>
19
class
NodeAuxData
{
20
public
:
21
inline
explicit
NodeAuxData
(
Zone
* zone);
22
23
inline
void
Set
(Node* node,
const
T
& data);
24
inline
T
Get
(Node* node);
25
26
private
:
27
ZoneVector<T>
aux_data_
;
28
};
29
}
30
}
31
}
// namespace v8::internal::compiler
32
33
#endif
v8::internal::ZoneVector
Definition:
zone-containers.h:20
v8::internal::Zone
Definition:
zone.h:37
v8::internal::compiler::NodeAuxData
Definition:
node-aux-data.h:19
v8::internal::compiler::NodeAuxData::NodeAuxData
NodeAuxData(Zone *zone)
Definition:
node-aux-data-inl.h:17
v8::internal::compiler::NodeAuxData::Set
void Set(Node *node, const T &data)
Definition:
node-aux-data-inl.h:22
v8::internal::compiler::NodeAuxData::Get
T Get(Node *node)
Definition:
node-aux-data-inl.h:32
v8::internal::compiler::NodeAuxData::aux_data_
ZoneVector< T > aux_data_
Definition:
node-aux-data.h:27
v8
Debugger support for the V8 JavaScript engine.
Definition:
accessors.cc:20
T
#define T(name, string, precedence)
Definition:
token.cc:25
zone-containers.h
mnt
V8SourceCode
src
compiler
node-aux-data.h
Generated on Tue Jul 1 2025 02:36:32 for V8 Project by
1.9.1