v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cell-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_CELL_INL_H_
6
#define V8_OBJECTS_CELL_INL_H_
7
8
#include "
src/objects/cell.h
"
9
// Include the non-inl header before the rest of the headers.
10
11
#include "
src/heap/heap-write-barrier-inl.h
"
12
#include "
src/objects/objects-inl.h
"
13
14
// Has to be the last include (doesn't have include guards):
15
#include "
src/objects/object-macros.h
"
16
17
namespace
v8
{
18
namespace
internal
{
19
20
#include "torque-generated/src/objects/cell-tq-inl.inc"
21
22
TQ_OBJECT_CONSTRUCTORS_IMPL
(Cell)
23
24
DEF_RELAXED_GETTER
(
Cell
, value,
Tagged
<
Object
>) {
25
return
TaggedField<Object, kValueOffset>::Relaxed_Load
(cage_base, *
this
);
26
}
27
28
}
// namespace internal
29
}
// namespace v8
30
31
#include "
src/objects/object-macros-undef.h
"
32
33
#endif
// V8_OBJECTS_CELL_INL_H_
cell.h
v8::internal::Cell
Definition
cell.h:18
v8::internal::Object
Definition
objects.h:128
v8::internal::TaggedField::Relaxed_Load
static PtrType Relaxed_Load(Tagged< HeapObject > host, int offset=0)
Definition
tagged-field-inl.h:260
v8::internal::Tagged
Definition
waiter-queue-node.h:21
heap-write-barrier-inl.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
object-macros-undef.h
object-macros.h
DEF_RELAXED_GETTER
#define DEF_RELAXED_GETTER(holder, name,...)
Definition
object-macros.h:150
TQ_OBJECT_CONSTRUCTORS_IMPL
#define TQ_OBJECT_CONSTRUCTORS_IMPL(Type)
Definition
object-macros.h:988
objects-inl.h
src
objects
cell-inl.h
Generated on Sun Apr 6 2025 21:08:55 for v8 by
1.12.0