mirror of
https://github.com/nodejs/node.git
synced 2025-05-22 16:07:07 +00:00

PR-URL: https://github.com/nodejs/node/pull/37587 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com>
30 lines
695 B
C++
30 lines
695 B
C++
// Copyright 2020 the V8 project authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef INCLUDE_CPPGC_COMMON_H_
|
|
#define INCLUDE_CPPGC_COMMON_H_
|
|
|
|
// TODO(chromium:1056170): Remove dependency on v8.
|
|
#include "v8config.h" // NOLINT(build/include_directory)
|
|
|
|
namespace cppgc {
|
|
|
|
/**
|
|
* Indicator for the stack state of the embedder.
|
|
*/
|
|
enum class EmbedderStackState {
|
|
/**
|
|
* Stack may contain interesting heap pointers.
|
|
*/
|
|
kMayContainHeapPointers,
|
|
/**
|
|
* Stack does not contain any interesting heap pointers.
|
|
*/
|
|
kNoHeapPointers,
|
|
};
|
|
|
|
} // namespace cppgc
|
|
|
|
#endif // INCLUDE_CPPGC_COMMON_H_
|