diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2019-05-22 12:12:36 -0700 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2019-05-26 17:09:45 +0200 |
commit | 02f9a0fe27a70062631a39971099e13f54d2b588 (patch) | |
tree | 17561268145e62e01e8cdb0f8a4c5d4f9b204af9 /tools/snapshot | |
parent | 91ec5bf7ba78039b6ab856c87aa39e3b7ef77c7e (diff) | |
download | android-node-v8-02f9a0fe27a70062631a39971099e13f54d2b588.tar.gz android-node-v8-02f9a0fe27a70062631a39971099e13f54d2b588.tar.bz2 android-node-v8-02f9a0fe27a70062631a39971099e13f54d2b588.zip |
src: move DiagnosticFilename inlines into a -inl.h
DiagnosticFilename's constructor default values use inlines from
env-inl.h, causing the many users of node_internals.h to include
env-inl.h, even if they never use DiagnosticFilename.
PR-URL: https://github.com/nodejs/node/pull/27839
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Diffstat (limited to 'tools/snapshot')
-rw-r--r-- | tools/snapshot/node_mksnapshot.cc | 1 | ||||
-rw-r--r-- | tools/snapshot/snapshot_builder.cc | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/tools/snapshot/node_mksnapshot.cc b/tools/snapshot/node_mksnapshot.cc index 5cf24f32b4..f52cccb705 100644 --- a/tools/snapshot/node_mksnapshot.cc +++ b/tools/snapshot/node_mksnapshot.cc @@ -5,7 +5,6 @@ #include <string> #include <vector> -#include "env-inl.h" #include "libplatform/libplatform.h" #include "node_internals.h" #include "snapshot_builder.h" diff --git a/tools/snapshot/snapshot_builder.cc b/tools/snapshot/snapshot_builder.cc index 1faa5330ae..54a4a2e73d 100644 --- a/tools/snapshot/snapshot_builder.cc +++ b/tools/snapshot/snapshot_builder.cc @@ -1,7 +1,6 @@ #include "snapshot_builder.h" #include <iostream> #include <sstream> -#include "env-inl.h" #include "node_internals.h" #include "node_main_instance.h" #include "node_v8_platform-inl.h" |