/src/hermes/lib/VM/BoxedDouble.cpp
Line | Count | Source |
1 | | /* |
2 | | * Copyright (c) Meta Platforms, Inc. and affiliates. |
3 | | * |
4 | | * This source code is licensed under the MIT license found in the |
5 | | * LICENSE file in the root directory of this source tree. |
6 | | */ |
7 | | |
8 | | #include "hermes/VM/BoxedDouble.h" |
9 | | #include "hermes/VM/Runtime.h" |
10 | | |
11 | | namespace hermes { |
12 | | namespace vm { |
13 | | |
14 | | const VTable BoxedDouble::vt{ |
15 | | CellKind::BoxedDoubleKind, |
16 | | cellSize<BoxedDouble>()}; |
17 | 1 | void BoxedDoubleBuildMeta(const GCCell *cell, Metadata::Builder &mb) { |
18 | 1 | mb.setVTable(&BoxedDouble::vt); |
19 | 1 | } |
20 | | |
21 | | } // namespace vm |
22 | | } // namespace hermes |