| Index: cc/base/math_util.h
|
| diff --git a/cc/base/math_util.h b/cc/base/math_util.h
|
| index 4e3347e3935cb0c70e1c7ff850174bbe712a9484..05014ee5c19dffd7abb676c8ba0a3f5e7e90753e 100644
|
| --- a/cc/base/math_util.h
|
| +++ b/cc/base/math_util.h
|
| @@ -323,6 +323,18 @@ class CC_EXPORT MathUtil {
|
| }
|
| };
|
|
|
| +class ScopedSubnormalFloatDisabler {
|
| + public:
|
| + ScopedSubnormalFloatDisabler();
|
| + ~ScopedSubnormalFloatDisabler();
|
| +
|
| + private:
|
| +#ifdef __SSE__
|
| + unsigned int orig_state_;
|
| +#endif
|
| + DISALLOW_COPY_AND_ASSIGN(ScopedSubnormalFloatDisabler);
|
| +};
|
| +
|
| } // namespace cc
|
|
|
| #endif // CC_BASE_MATH_UTIL_H_
|
|
|