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-05-27 22:15:15 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
// This is supposed to be generated by tools/generate_code_cache.js
8
// The stub here is used when configure is run without `--code-cache-path`
9
10
namespace node {
11
namespace native_module {
12
13
const bool has_code_cache = false;
14
15
// The generated source code would insert <std::string, UnionString> pairs
16
// into NativeModuleLoader::instance.code_cache_.
17
7
void NativeModuleEnv::InitializeCodeCache() {}
18
19
}  // namespace native_module
20
}  // namespace node