Commit a35934a6 authored by bmeurer's avatar bmeurer Committed by Commit bot

[turbofan] Don't mark likely conversion as deferred.

When changing from Tagged to Float64 representation, it's not unlikely
to see a HeapNumber (or if feedback says so, an Oddball), so we
shouldn't penalize the code that deals with this case by marking it as
deferred.

R=mvstanton@chromium.org
BUG=v8:5267

Review-Url: https://codereview.chromium.org/2295933003
Cr-Commit-Position: refs/heads/master@{#39025}
parent 1b8fd0dd
......@@ -1670,8 +1670,8 @@ EffectControlLinearizer::BuildCheckedHeapNumberOrOddballToFloat64(
break;
}
case CheckTaggedInputMode::kNumberOrOddball: {
Node* branch = graph()->NewNode(common()->Branch(BranchHint::kTrue),
check_number, control);
Node* branch =
graph()->NewNode(common()->Branch(), check_number, control);
Node* if_true = graph()->NewNode(common()->IfTrue(), branch);
Node* etrue = effect;
......@@ -1713,8 +1713,7 @@ EffectControlLinearizer::LowerCheckedTaggedToFloat64(Node* node,
Node* value = node->InputAt(0);
Node* check = ObjectIsSmi(value);
Node* branch =
graph()->NewNode(common()->Branch(BranchHint::kTrue), check, control);
Node* branch = graph()->NewNode(common()->Branch(), check, control);
// In the Smi case, just convert to int32 and then float64.
Node* if_true = graph()->NewNode(common()->IfTrue(), branch);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment