V8
latest master commit
V8 is Google's open source JavaScript engine
common.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 INCLUDE_CPPGC_COMMON_H_
6
#define INCLUDE_CPPGC_COMMON_H_
7
8
// TODO(chromium:1056170): Remove dependency on v8.
9
#include "
v8config.h
"
// NOLINT(build/include_directory)
10
11
namespace
cppgc
{
12
13
// Indicator for the stack state of the embedder.
14
enum class
EmbedderStackState
{
15
kMayContainHeapPointers
,
16
kNoHeapPointers
,
17
kUnknown
V8_ENUM_DEPRECATE_SOON
(
"Use kMayContainHeapPointers"
) =
18
kMayContainHeapPointers
,
19
kNonEmpty
V8_ENUM_DEPRECATE_SOON
(
"Use kMayContainHeapPointers"
) =
20
kMayContainHeapPointers
,
21
kEmpty
V8_ENUM_DEPRECATE_SOON
(
"Use kNoHeapPointers"
) =
kNoHeapPointers
,
22
};
23
24
}
// namespace cppgc
25
26
#endif // INCLUDE_CPPGC_COMMON_H_
cppgc::EmbedderStackState::V8_ENUM_DEPRECATE_SOON
@ V8_ENUM_DEPRECATE_SOON
cppgc::EmbedderStackState::kNoHeapPointers
@ kNoHeapPointers
cppgc
Definition:
allocation.h:18
v8config.h
cppgc::EmbedderStackState
EmbedderStackState
Definition:
common.h:14
cppgc::EmbedderStackState::kMayContainHeapPointers
@ kMayContainHeapPointers
v8
include
cppgc
common.h
Generated by
1.8.17