diff options
author | Anna Henningsen <anna@addaleax.net> | 2020-03-21 13:51:26 +0300 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2020-03-24 19:25:23 +0300 |
commit | 2bcf535a0531d1fb3dd67c4fb9796d05a6075857 (patch) | |
tree | abafad3e790e213eb2be90e13314d054cb5d04ad /src/env.cc | |
parent | 2fe351f6c3fab6b64567fa8a79291f1f96893ae6 (diff) |
src: simplify IsolateData shortcut accesses
PR-URL: https://github.com/nodejs/node/pull/32407
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: David Carlier <devnexen@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Matheus Marchini <mat@mmarchini.me>
Diffstat (limited to 'src/env.cc')
-rw-r--r-- | src/env.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/env.cc b/src/env.cc index 850b96d6857..9b5c2776b13 100644 --- a/src/env.cc +++ b/src/env.cc @@ -181,12 +181,12 @@ IsolateData::IsolateData(Isolate* isolate, void IsolateData::MemoryInfo(MemoryTracker* tracker) const { #define V(PropertyName, StringValue) \ - tracker->TrackField(#PropertyName, PropertyName(isolate())); + tracker->TrackField(#PropertyName, PropertyName()); PER_ISOLATE_SYMBOL_PROPERTIES(V) #undef V #define V(PropertyName, StringValue) \ - tracker->TrackField(#PropertyName, PropertyName(isolate())); + tracker->TrackField(#PropertyName, PropertyName()); PER_ISOLATE_STRING_PROPERTIES(V) #undef V |