GCC Code Coverage Report
Directory: ../ Exec Total Coverage
File: /home/iojs/build/workspace/node-test-commit-linux-coverage-daily/nodes/benchmark/out/../src/node_code_cache_stub.cc Lines: 1 1 100.0 %
Date: 2020-09-03 22:13:26 Branches: 0 0 - %

Line Branch Exec Source
1
// This file is part of the embedder test, which is intentionally built without
2
// NODE_WANT_INTERNALS, so we define it here manually.
3
#define NODE_WANT_INTERNALS 1
4
5
#include "node_native_module_env.h"
6
7
// The stub here is used when configure is run without `--code-cache-path`.
8
// When --code-cache-path is set this stub will not be used and instead
9
// an implementation will be generated. See tools/code_cache/README.md for
10
// more information.
11
12
namespace node {
13
namespace native_module {
14
15
const bool has_code_cache = false;
16
17
// The generated source code would insert <std::string, UnionString> pairs
18
// into NativeModuleLoader::instance.code_cache_.
19
9
void NativeModuleEnv::InitializeCodeCache() {}
20
21
}  // namespace native_module
22
}  // namespace node