v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
primitive-heap-object.h
Go to the documentation of this file.
1// Copyright 2019 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_PRIMITIVE_HEAP_OBJECT_H_
6#define V8_OBJECTS_PRIMITIVE_HEAP_OBJECT_H_
7
9
10// Has to be the last include (doesn't have include guards):
12
13namespace v8 {
14namespace internal {
15
16// An abstract superclass for classes representing JavaScript primitive values
17// other than Smi. It doesn't carry any functionality but allows primitive
18// classes to be identified in the type system.
23
24static_assert(sizeof(PrimitiveHeapObject) == sizeof(HeapObjectLayout));
26
27} // namespace internal
28} // namespace v8
29
31
32#endif // V8_OBJECTS_PRIMITIVE_HEAP_OBJECT_H_
static constexpr bool is_subtype_v
Definition tagged.h:121
v8::internal::LoadHandler V8_OBJECT_END
#define DECL_VERIFIER(Name)
#define V8_OBJECT