Revert of [interpreter] Properly collect rhs feedback for comparisons with oddballs. (patchset #1 id:1 of https://codereview.chromium.org/2513903002/ )
Reason for revert: Seems to break layout tests: https://build.chromium.org/p/client.v8.fyi/builders/V8-Blink%20Linux%2064/builds/11452 Original issue's description: > [interpreter] Properly collect rhs feedback for comparisons with oddballs. > > Ignition skipped collecting NumberOrOddball feedback if the right hand > side of a relational comparison is undefined, thus leading to a > deoptimization loop, because it reported Number feedback to TurboFan. > > This was caught on 3d-raytrace test of SunSpider. > > R=rmcilroy@chromium.org > > Committed: https://crrev.com/d240ffec32ae034e50c006f7d5715171b32bbbc4 > Cr-Commit-Position: refs/heads/master@{#41094} TBR=rmcilroy@chromium.org,bmeurer@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review-Url: https://codereview.chromium.org/2511243004 Cr-Commit-Position: refs/heads/master@{#41100}
This commit is contained in:
parent
a00e1a5733
commit
572b643b47
@ -1081,10 +1081,9 @@ void Interpreter::DoCompareOpWithFeedback(Token::Value compare_op,
|
||||
__ Word32Equal(rhs_instance_type, __ Int32Constant(ODDBALL_TYPE));
|
||||
__ GotoUnless(rhs_is_oddball, &rhs_is_not_oddball);
|
||||
|
||||
var_type_feedback.Bind(__ Word32Or(
|
||||
var_type_feedback.value(),
|
||||
__ Int32Constant(CompareOperationFeedback::kNumberOrOddball)));
|
||||
__ Goto(&update_feedback);
|
||||
var_type_feedback.Bind(
|
||||
__ Int32Constant(CompareOperationFeedback::kNumberOrOddball));
|
||||
__ Goto(&do_compare);
|
||||
|
||||
__ Bind(&rhs_is_not_oddball);
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user