mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 09:05:45 +00:00
Bug 1024836 - Fix compilation errors in RangeAnalysis.cpp with clang-cl; r=Waldo
This is similar to bug 1021494.
This commit is contained in:
parent
3955af5fb9
commit
1aea07b961
@ -916,9 +916,9 @@ Range::abs(TempAllocator &alloc, const Range *op)
|
||||
int32_t l = op->lower_;
|
||||
int32_t u = op->upper_;
|
||||
|
||||
return new(alloc) Range(Max(Max(int32_t(0), l), u == INT32_MIN ? INT32_MAX : -u),
|
||||
return new(alloc) Range(Max(Max(int32_t(0), l), u == INT32_MIN ? int32_t(INT32_MAX) : -u),
|
||||
true,
|
||||
Max(Max(int32_t(0), u), l == INT32_MIN ? INT32_MAX : -l),
|
||||
Max(Max(int32_t(0), u), l == INT32_MIN ? int32_t(INT32_MAX) : -l),
|
||||
op->hasInt32Bounds() && l != INT32_MIN,
|
||||
op->canHaveFractionalPart_,
|
||||
op->max_exponent_);
|
||||
|
Loading…
Reference in New Issue
Block a user