v8: fix RegExp nits in v8_prof_polyfill.js
* Do not repeat RegExp creation in cycle. * Use sufficient string instead of RegExp in split(). PR-URL: https://github.com/nodejs/node/pull/13709 Reviewed-By:Fedor Indutny <fedor.indutny@gmail.com> Reviewed-By:
Colin Ihrig <cjihrig@gmail.com> Reviewed-By:
Michaël Zasso <targos@protonmail.com> Reviewed-By:
Luigi Pinca <luigipinca@gmail.com> Reviewed-By:
James M Snell <jasnell@gmail.com>
parent
b2a53997
Please register or sign in to comment