DescriptionCopy the corresponding opt_count_and_bailout_reason info when invoking Runtime_SetCode.
This error is exposed by this CL: https://codereview.chromium.org/817293005.
This CL set all Buildin JS function to optimization_disabled.
And set the bailout reason to "kBuiltinFunctionCannotBeOptimized". But in Runtime_SetCode() function.
It copied the the compiler_hints which include the "bool optimization_disabled" value,
But the corresponding Bailout reason is not copied.
This leads to the check error in "CompilationInfo::AbortOptimization(...)" function.
This issue is exposed on turbofan unsupported X87 platform. Crankshaft is invoked to compile
the typed array function Uint8Array.
BUG=
Committed: https://crrev.com/464f76b734d59b8c0f6cae1ee6e630360e97fa31
Cr-Commit-Position: refs/heads/master@{#26595}
Patch Set 1 #
Messages
Total messages: 8 (2 generated)
|