/src/hermes/lib/VM/JSLib/RuntimeCommonStorage.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/JSLib/RuntimeCommonStorage.h" |
9 | | |
10 | | #include <memory> |
11 | | |
12 | | #include "hermes/VM/JSLib.h" |
13 | | |
14 | | namespace hermes { |
15 | | namespace vm { |
16 | | |
17 | | std::shared_ptr<RuntimeCommonStorage> createRuntimeCommonStorage( |
18 | 99 | bool shouldTrace) { |
19 | 99 | return std::make_shared<RuntimeCommonStorage>(shouldTrace); |
20 | 99 | } |
21 | | |
22 | | RuntimeCommonStorage::RuntimeCommonStorage(bool shouldTrace) |
23 | 99 | : shouldTrace(shouldTrace) {} |
24 | 99 | RuntimeCommonStorage::~RuntimeCommonStorage() {} |
25 | | |
26 | | } // namespace vm |
27 | | } // namespace hermes |