#ifndef V8_OBJECTS_JS_DISPOSABLE_STACK_H_
#define V8_OBJECTS_JS_DISPOSABLE_STACK_H_
#include "src/base/bit-field.h"
#include "src/handles/handles.h"
#include "src/handles/maybe-handles.h"
#include "src/objects/contexts.h"
#include "src/objects/heap-object.h"
#include "src/objects/js-objects.h"
#include "src/objects/js-promise.h"
#include "torque-generated/bit-fields.h"
#include "src/objects/object-macros.h"
namespace v8 {
namespace internal {
#include "torque-generated/src/objects/js-disposable-stack-tq.inc"
enum class DisposableStackState { … };
enum class DisposeMethodCallType { … };
enum class DisposeMethodHint { … };
enum class DisposableStackResourcesType { … };
DisposeCallTypeBit;
using DisposeHintBit = DisposeCallTypeBit::Next<DisposeMethodHint, 1>;
class JSDisposableStackBase
: public TorqueGeneratedJSDisposableStackBase<JSDisposableStackBase,
JSObject> { … };
class JSSyncDisposableStack
: public TorqueGeneratedJSSyncDisposableStack<JSSyncDisposableStack,
JSDisposableStackBase> { … };
class JSAsyncDisposableStack
: public TorqueGeneratedJSAsyncDisposableStack<JSAsyncDisposableStack,
JSDisposableStackBase> { … };
}
}
#include "src/objects/object-macros-undef.h"
#endif