deps: V8: cherry-pick a5cea1bfc38c
Original commit message:
Mark Node::opcode() and Operator::opcode() as constexpr.
Without the explicit constexpr keyword, Clang seems to be able to treat
these methods as constexpr, whereas MSVC will not.
Bug: v8:11760
Change-Id: I9f6492f38fb50dcaf7a4f09da0bd79c0da6a50eb
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2912916
Reviewed-by:
Clemens Backes <clemensb@chromium.org>
Reviewed-by:
Maya Lekova <mslekova@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#74791}
Refs: https://github.com/v8/v8/commit/a5cea1bfc38ceafc74f4baddd6ab94ea13757ef8
PR-URL: https://github.com/nodejs/node/pull/38990
Reviewed-By:
Jiawen Geng <technicalcute@gmail.com>
Reviewed-By:
Matteo Collina <matteo.collina@gmail.com>
Reviewed-By:
Robert Nagy <ronagy@icloud.com>
Reviewed-By:
Colin Ihrig <cjihrig@gmail.com>
parent
c516f2c3
Please register or sign in to comment