Copy 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= Review URL: https://codereview.chromium.org/917643002 Cr-Commit-Position: refs/heads/master@{#26595}
Showing
Please
register
or
sign in
to comment