diff options
author | Anna Henningsen <anna@addaleax.net> | 2018-10-15 02:41:32 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2018-10-21 04:17:12 +0300 |
commit | 87b808f7611b5ed17164f939760f562d5af9fdb4 (patch) | |
tree | 2462cb1b292756df8f844891eeddd75edd81a084 /lib/internal/v8_prof_processor.js | |
parent | 20282b1cb0389553421c4c5b14de198c5dfff50b (diff) |
src,lib: move `natives` and `constants` to `internalBinding()`
Refs: https://github.com/nodejs/node/issues/22160
PR-URL: https://github.com/nodejs/node/pull/23663
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Weijia Wang <starkwang@126.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'lib/internal/v8_prof_processor.js')
-rw-r--r-- | lib/internal/v8_prof_processor.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/internal/v8_prof_processor.js b/lib/internal/v8_prof_processor.js index 6c7a4db6641..572b8074c46 100644 --- a/lib/internal/v8_prof_processor.js +++ b/lib/internal/v8_prof_processor.js @@ -19,7 +19,7 @@ const scriptFiles = [ var script = ''; scriptFiles.forEach(function(s) { - script += process.binding('natives')[s] + '\n'; + script += internalBinding('natives')[s] + '\n'; }); const tickArguments = []; |