Description[turbofan] Fix undefined behavior in Int64Lowering.
This fixes undefined behavior introduced by extracting the const call
descriptor of a call node as non-const. Such an implicit cast between
constness is not safe and should be avoided.
R=ahaas@chromium.org
TEST=unittests/Int64LoweringTest.CallI64Parameter
BUG=v8:4924
LOG=n
Committed: https://crrev.com/dee91da817f3cf0ab373463cfa9c390de529c03d
Cr-Commit-Position: refs/heads/master@{#35569}
Patch Set 1 #Patch Set 2 : Workaround with const-cast. #
Dependent Patchsets: Messages
Total messages: 11 (4 generated)
|