mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
Original commit message:
[turbofan] Fix missing lazy deopt in object literals.
This adds a missing lazy bailout point when defining data properties
with computed property names in object literals. The runtime call to
Runtime::kDefineDataPropertyInLiteral can trigger deopts. The necessary
bailout ID already exists and is now properly used.
R=jarin@chromium.org
TEST=mjsunit/regress/regress-crbug-621816
BUG=chromium:621816
Review-Url: https://codereview.chromium.org/2099133003
Cr-Commit-Position: refs/heads/master@{#37294}
Refs: https://github.com/v8/v8/commit/4af80298b66f6dc0abd7fbab93f377755388d065
PR-URL: https://github.com/nodejs/node/pull/17290
Fixes: https://github.com/nodejs/node/issues/14326
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>