v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
read-only-promotion.h
Go to the documentation of this file.
1// Copyright 2023 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_READ_ONLY_PROMOTION_H_
6#define V8_HEAP_READ_ONLY_PROMOTION_H_
7
10
11namespace v8 {
12namespace internal {
13
14class Isolate;
15class SafepointScope;
16
17class ReadOnlyPromotion final : public AllStatic {
18 public:
19 V8_EXPORT_PRIVATE static void Promote(Isolate* isolate,
20 const SafepointScope& safepoint_scope,
21 const DisallowGarbageCollection& no_gc);
22};
23
24} // namespace internal
25} // namespace v8
26
27#endif // V8_HEAP_READ_ONLY_PROMOTION_H_
static V8_EXPORT_PRIVATE void Promote(Isolate *isolate, const SafepointScope &safepoint_scope, const DisallowGarbageCollection &no_gc)
#define V8_EXPORT_PRIVATE
Definition macros.h:460