Commit 78f16b39 authored by bmeurer's avatar bmeurer Committed by Commit bot

[turbofan] CheckedTaggedToInt32 doesn't distinguish undefined and hole.

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

Review-Url: https://codereview.chromium.org/2397253002
Cr-Commit-Position: refs/heads/master@{#40073}
parent 0f7f6e33
......@@ -126,6 +126,7 @@ Reduction SimplifiedOperatorReducer::Reduce(Node* node) {
}
break;
}
case IrOpcode::kCheckedTaggedToInt32:
case IrOpcode::kCheckedTaggedSignedToInt32: {
NodeMatcher m(node->InputAt(0));
if (m.IsConvertTaggedHoleToUndefined()) {
......
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