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#include "v8config.h" // NOLINT(build/include_directory) 9 10namespace cppgc { 11 12/** 13 * Indicator for the stack state of the embedder. 14 */ 15enum class EmbedderStackState { 16 /** 17 * Stack may contain interesting heap pointers. 18 */ 19 kMayContainHeapPointers, 20 /** 21 * Stack does not contain any interesting heap pointers. 22 */ 23 kNoHeapPointers, 24}; 25 26} // namespace cppgc 27 28#endif // INCLUDE_CPPGC_COMMON_H_ 29