| Index: third_party/double-conversion/src/utils.h
|
| diff --git a/third_party/double-conversion/src/utils.h b/third_party/double-conversion/src/utils.h
|
| index ce41e6261a41001ec5a0f45581db91dfb5ef248e..51d5e61e311a2b8e383b8ad3fc9c351f939b2ece 100644
|
| --- a/third_party/double-conversion/src/utils.h
|
| +++ b/third_party/double-conversion/src/utils.h
|
| @@ -39,9 +39,23 @@
|
| #ifndef UNIMPLEMENTED
|
| #define UNIMPLEMENTED() (abort())
|
| #endif
|
| +#ifndef DOUBLE_CONVERSION_NO_RETURN
|
| +#ifdef _MSC_VER
|
| +#define DOUBLE_CONVERSION_NO_RETURN __declspec(noreturn)
|
| +#else
|
| +#define DOUBLE_CONVERSION_NO_RETURN __attribute__((noreturn))
|
| +#endif
|
| +#endif
|
| #ifndef UNREACHABLE
|
| +#ifdef _MSC_VER
|
| +void DOUBLE_CONVERSION_NO_RETURN abort_noreturn();
|
| +inline void abort_noreturn() { abort(); }
|
| +#define UNREACHABLE() (abort_noreturn())
|
| +#else
|
| #define UNREACHABLE() (abort())
|
| #endif
|
| +#endif
|
| +
|
|
|
| // Double operations detection based on target architecture.
|
| // Linux uses a 80bit wide floating point stack on x86. This induces double
|
|
|