v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cpp-marking-state-inl.h
Go to the documentation of this file.
1
// Copyright 2021 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_HEAP_CPPGC_JS_CPP_MARKING_STATE_INL_H_
6
#define V8_HEAP_CPPGC_JS_CPP_MARKING_STATE_INL_H_
7
8
#include "
src/heap/cppgc-js/cpp-marking-state.h
"
9
// Include the non-inl header before the rest of the headers.
10
11
namespace
v8
{
12
namespace
internal
{
13
14
void
CppMarkingState::MarkAndPush
(
void
* instance) {
15
marking_state_
.
MarkAndPush
(
16
cppgc::internal::HeapObjectHeader::FromObject
(instance));
17
}
18
19
}
// namespace internal
20
}
// namespace v8
21
22
#endif
// V8_HEAP_CPPGC_JS_CPP_MARKING_STATE_INL_H_
cppgc::internal::HeapObjectHeader::FromObject
static HeapObjectHeader & FromObject(void *address)
Definition
heap-object-header.h:174
cppgc::internal::MarkingStateBase::MarkAndPush
void MarkAndPush(const void *, TraceDescriptor)
Definition
marking-state.h:69
v8::internal::CppMarkingState::marking_state_
cppgc::internal::MarkingStateBase & marking_state_
Definition
cpp-marking-state.h:45
v8::internal::CppMarkingState::MarkAndPush
void MarkAndPush(void *instance)
Definition
cpp-marking-state-inl.h:14
cpp-marking-state.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
src
heap
cppgc-js
cpp-marking-state-inl.h
Generated on Sun Apr 6 2025 21:08:54 for v8 by
1.12.0