GCC Code Coverage Report
Directory: ../ Exec Total Coverage
File: /home/iojs/build/workspace/node-test-commit-linux-coverage-daily/nodes/benchmark/out/../src/node_v8.h Lines: 3 3 100.0 %
Date: 2021-05-26 04:16:18 Branches: 0 0 - %

Line Branch Exec Source
1
#ifndef SRC_NODE_V8_H_
2
#define SRC_NODE_V8_H_
3
4
#if defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
5
6
#include "aliased_buffer.h"
7
#include "base_object.h"
8
#include "node_snapshotable.h"
9
#include "util.h"
10
#include "v8.h"
11
12
namespace node {
13
class Environment;
14
struct InternalFieldInfo;
15
16
namespace v8_utils {
17
9308
class BindingData : public SnapshotableObject {
18
 public:
19
  BindingData(Environment* env, v8::Local<v8::Object> obj);
20
21
  SERIALIZABLE_OBJECT_METHODS()
22
  static constexpr FastStringKey type_name{"node::v8::BindingData"};
23
  static constexpr EmbedderObjectType type_int =
24
      EmbedderObjectType::k_v8_binding_data;
25
26
  AliasedFloat64Array heap_statistics_buffer;
27
  AliasedFloat64Array heap_space_statistics_buffer;
28
  AliasedFloat64Array heap_code_statistics_buffer;
29
30
  void MemoryInfo(MemoryTracker* tracker) const override;
31
22
  SET_SELF_SIZE(BindingData)
32
22
  SET_MEMORY_INFO_NAME(BindingData)
33
};
34
35
}  // namespace v8_utils
36
37
}  // namespace node
38
39
#endif  // defined(NODE_WANT_INTERNALS) && NODE_WANT_INTERNALS
40
41
#endif  // SRC_NODE_V8_H_