src: use correct variable in node_builtins.cc#47343
src: use correct variable in node_builtins.cc#47343nodejs-github-bot merged 1 commit intonodejs:mainfrom
Conversation
|
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.
|
@joyeecheung feel free to open an alternative PR. Otherwise I'll update this one on Monday |
6cdbeed to
eaf854e
Compare
|
Updated |
|
Though I'm thinking that maybe we don't need three intermediate local handles -- single local handle seems pretty sufficient in the case. |
|
BTW, any idea on why the |
|
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.