Uh oh!
There was an error while loading. Please reload this page.
src: use correct variable in node_builtins.cc - #47343
Conversation
nodejs-github-bot
commented
Mar 31, 2023
Review requested:
|
There was a problem hiding this comment.
This should be fixed by making L589 and L595 use builtins_in_snapshot_js instead. Somehow we ended up using builtins_without_cache_js for them, which is technically okay, because it then acts like a temporary handle that gets reused and pointed to another V8 value, but the handle that's meant to be used is actually builtins_in_snapshot_js. Keeping using a handle that's named builtins_without_cache_js for compiledInSnapshot would be confusing.
targos
commented
Apr 1, 2023
@joyeecheung feel free to open an alternative PR. Otherwise I'll update this one on Monday |
6cdbeed to
eaf854eComparetargos
commented
Apr 4, 2023
Updated |
legendecas
commented
Apr 4, 2023
Though I'm thinking that maybe we don't need three intermediate local handles -- single local handle seems pretty sufficient in the case. |
nodejs-github-bot
commented
Apr 5, 2023
targos
commented
Apr 5, 2023
BTW, any idea on why the |
nodejs-github-bot
commented
Apr 11, 2023
nodejs-github-bot
commented
Apr 11, 2023
Landed in 25ad49b |
PR-URL: #47343 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: #47343 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: nodejs#47343 Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
No description provided.