v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
embedder-data-array-inl.h
Go to the documentation of this file.
1
// Copyright 2018 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_OBJECTS_EMBEDDER_DATA_ARRAY_INL_H_
6
#define V8_OBJECTS_EMBEDDER_DATA_ARRAY_INL_H_
7
8
#include "
src/objects/embedder-data-array.h
"
9
// Include the non-inl header before the rest of the headers.
10
11
#include "
src/objects/heap-object-inl.h
"
12
#include "
src/objects/instance-type-inl.h
"
13
#include "
src/objects/maybe-object-inl.h
"
14
#include "
src/objects/objects-inl.h
"
15
16
// Has to be the last include (doesn't have include guards):
17
#include "
src/objects/object-macros.h
"
18
19
namespace
v8
{
20
namespace
internal
{
21
22
#include "torque-generated/src/objects/embedder-data-array-tq-inl.inc"
23
24
TQ_OBJECT_CONSTRUCTORS_IMPL
(EmbedderDataArray)
25
26
Address
EmbedderDataArray
::slots_start() {
27
return
field_address(OffsetOfElementAt(0));
28
}
29
30
Address
EmbedderDataArray::slots_end
() {
31
return
field_address(
OffsetOfElementAt
(
length
()));
32
}
33
34
}
// namespace internal
35
}
// namespace v8
36
37
#include "
src/objects/object-macros-undef.h
"
38
39
#endif
// V8_OBJECTS_EMBEDDER_DATA_ARRAY_INL_H_
v8::internal::EmbedderDataArray
Definition
embedder-data-array.h:25
v8::internal::EmbedderDataArray::OffsetOfElementAt
static constexpr int OffsetOfElementAt(int index)
Definition
embedder-data-array.h:40
v8::internal::EmbedderDataArray::slots_end
V8_INLINE Address slots_end()
Definition
embedder-data-array-inl.h:30
embedder-data-array.h
heap-object-inl.h
instance-type-inl.h
maybe-object-inl.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8::internal::Address
Address
Definition
api-callbacks-inl.h:36
v8::internal::length
size_t length
Definition
external-reference.cc:1491
v8
Definition
api-arguments-inl.h:19
object-macros-undef.h
object-macros.h
TQ_OBJECT_CONSTRUCTORS_IMPL
#define TQ_OBJECT_CONSTRUCTORS_IMPL(Type)
Definition
object-macros.h:988
objects-inl.h
src
objects
embedder-data-array-inl.h
Generated on Sun Apr 6 2025 21:08:55 for v8 by
1.12.0