GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — src: clean v8 namespaces in env.cc file · nodejs/node@778dcc8

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • src
    • env.cc
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎src/env.cc‎

Copy file name to clipboardExpand all lines: src/env.cc
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ std::vector<size_t> IsolateData::Serialize(SnapshotCreator* creator) {
6464
// but that's not part of the V8 API contract so we use an array
6565
// just to be safe.
6666

67-
#define VP(PropertyName, StringValue) V(v8::Private, PropertyName)
68-
#define VY(PropertyName, StringValue) V(v8::Symbol, PropertyName)
69-
#define VS(PropertyName, StringValue) V(v8::String, PropertyName)
67+
#define VP(PropertyName, StringValue) V(Private, PropertyName)
68+
#define VY(PropertyName, StringValue) V(Symbol, PropertyName)
69+
#define VS(PropertyName, StringValue) V(String, PropertyName)
7070
#define V(TypeName, PropertyName) \
7171
indexes.push_back(creator->AddData(PropertyName##_.Get(isolate)));
7272
PER_ISOLATE_PRIVATE_SYMBOL_PROPERTIES(VP)
@@ -84,9 +84,9 @@ void IsolateData::DeserializeProperties(const std::vector<size_t>* indexes) {
8484
size_t i = 0;
8585
HandleScope handle_scope(isolate_);
8686

87-
#define VP(PropertyName, StringValue) V(v8::Private, PropertyName)
88-
#define VY(PropertyName, StringValue) V(v8::Symbol, PropertyName)
89-
#define VS(PropertyName, StringValue) V(v8::String, PropertyName)
87+
#define VP(PropertyName, StringValue) V(Private, PropertyName)
88+
#define VY(PropertyName, StringValue) V(Symbol, PropertyName)
89+
#define VS(PropertyName, StringValue) V(String, PropertyName)
9090
#define V(TypeName, PropertyName) \
9191
do { \
9292
MaybeLocal<TypeName> field = \
@@ -994,7 +994,7 @@ Environment* Environment::worker_parent_env() const {
994994
void MemoryTracker::TrackField(const char* edge_name,
995995
const CleanupHookCallback& value,
996996
const char* node_name) {
997-
v8::HandleScope handle_scope(isolate_);
997+
HandleScope handle_scope(isolate_);
998998
// Here, we utilize the fact that CleanupHookCallback instances
999999
// are all unique and won't be tracked twice in one BuildEmbedderGraph
10001000
// callback.

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.