v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
node-marker.cc
Go to the documentation of this file.
1
// Copyright 2015 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/node-marker.h
"
6
7
#include "
src/compiler/turbofan-graph.h
"
8
9
namespace
v8
{
10
namespace
internal
{
11
namespace
compiler {
12
13
NodeMarkerBase::NodeMarkerBase
(
TFGraph
* graph, uint32_t num_states)
14
: mark_min_(graph->mark_max_), mark_max_(graph->mark_max_ += num_states) {
15
DCHECK_NE
(0u, num_states);
// user error!
16
DCHECK_LT
(
mark_min_
,
mark_max_
);
// check for wraparound.
17
}
18
19
}
// namespace compiler
20
}
// namespace internal
21
}
// namespace v8
v8::internal::compiler::NodeMarkerBase::mark_max_
Mark const mark_max_
Definition
node-marker.h:40
v8::internal::compiler::NodeMarkerBase::mark_min_
Mark const mark_min_
Definition
node-marker.h:39
v8::internal::compiler::NodeMarkerBase::NodeMarkerBase
NodeMarkerBase(TFGraph *graph, uint32_t num_states)
Definition
node-marker.cc:13
v8::internal::compiler::TFGraph
Definition
turbofan-graph.h:32
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
node-marker.h
DCHECK_NE
#define DCHECK_NE(v1, v2)
Definition
logging.h:486
DCHECK_LT
#define DCHECK_LT(v1, v2)
Definition
logging.h:489
turbofan-graph.h
src
compiler
node-marker.cc
Generated on Sun Apr 6 2025 21:08:52 for v8 by
1.12.0