Commit 8c0ee440 authored by adamk's avatar adamk Committed by Commit bot

[crankshaft] Re-add kAllowUndefinedAsNaN flag for bitwise binary ops

It appears to have been dropped accidentally as part of 1150092b's
removal of strong mode for binary ops.

Review-Url: https://codereview.chromium.org/2092493002
Cr-Commit-Position: refs/heads/master@{#37229}
parent f795a790
......@@ -3740,6 +3740,7 @@ class HBitwiseBinaryOperation : public HBinaryOperation {
: HBinaryOperation(context, left, right, type) {
SetFlag(kFlexibleRepresentation);
SetFlag(kTruncatingToInt32);
SetFlag(kAllowUndefinedAsNaN);
SetAllSideEffects();
}
......
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